Re: [Synalist] THTTPSend - Often error: 416 Requested Range Not Satisfiable

2006-11-30 Thread Lukas Gebauer
> Very often error report during unsecure preraration process and buggy > servers: HTTP/1.1 416 Requested Range Not Satisfiable > > Suggestion is to handle this error report to avoid adding it to > FDocument. It is OK. When server returns any error, then still Document can have useful informat

Re: [Synalist] Output truncated

2006-11-30 Thread Lukas Gebauer
> I have a small web application in FreePascal using Synapse. It is > runinng very well on a P4/Conectiva10 Linux. The very same > application compilated on another machine (Athlon64, Debian)-same > sources, same libs, same Synapse - keep truncating the output to the > browser. > > Is any known

Re: [Synalist] UTF-8 as fallback?

2006-11-30 Thread Lukas Gebauer
> the function mimeinln.InlineCodeEx calls IdealCharsetCoding with a > list of character encodings. > > Wouldn't it be a good idea to add "UTF_8" as a fallback to the end of > this list? > > That way, if no character encoding fits perfectly, UTF-8 will be > chosen, which (in theroy) should be abl

Re: [Synalist] Output truncated

2006-11-30 Thread sicnemelpor
No progress yet, as I hadn't time to debug on that platform. My production server still 32 bits. I'll debug it further as soon as I can. My guess is something to do with Debian's libraries. I tested (superficially) on another server - K6-3 400 running Ubuntu - and *sometimes* it truncates th

[Synalist] UDP Multicast IP Address msb-lsb issue?

2006-11-30 Thread Jon Bertrand
Hello, We use DUnit on Delphi 2006/Windows XP to do automated unit tests on our code. We updated from release 32 (I think) to release 37 and several UDP unit tests are now failing. The unit tests are making sure that UDP multicast works. The tests are failing because an attempt to AddMultica

Re: [Synalist] UDP Multicast IP Address msb-lsb issue?

2006-11-30 Thread Lukas Gebauer
> S_addr is -536857804 (as an integer - or 3758109492 as an unsigned int). > > This is what I'd expect 224.0.51.52 to convert to (224 is the most > significate by I believe). I'm assuming Intel big/little endian junk > factors into the problem here. > > There is a difference between new and old

Re: [Synalist] UDP Multicast IP Address msb-lsb issue?

2006-11-30 Thread Jon Bertrand
Thanks for the quick reply! It it probably worth checking all the spots that use strtoip(). Thanks again. Jon B -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Lukas Gebauer Sent: Thursday, November 30, 2006 12:38 PM To: Ararat Synapse Subject: Re: [Synal

Re: [Synalist] UDP Multicast IP Address msb-lsb issue?

2006-11-30 Thread Jon Bertrand
>try to use fixed code: >Multicast.imr_multiaddr.S_addr := SwapBytes(strtoip(MCastIP)); I changed AddMulticast() to be SwapBytes(StrToIp(MCastIP)); All the tests passed (there are 20 tests or so for UDP and 20 for TCP). I then added tests for DropMulticast() (we didn't have any) and those tests