Re: [twsocket] InternalAbort causes OnDataAvailable *during* the Abort call

2010-03-25 Thread wilfried Mestdagh
Hi, It is not a bug, it is by design. The data already received is delivered to the application. The application can easy check if it is complete data by checking the line end character(s). -- mvg, Wilfried http://www.mestdagh.biz -- To unsubscribe or change your settings for TWSocket mailing l

Re: [twsocket] THttpCli: Handling Web Pages that Return Nothing

2010-03-25 Thread Keith Willis
Ok Thanks Francois, That was more or less what I suspected. I will contact the camera manufacturer and let them know. For the moment I am temporarily setting my HttpCli Timeout mod to 0, which works well. For some reason calling "GetAsync" directly, hangs the app and I haven't had a chance to inv

[twsocket] InternalAbort causes OnDataAvailable *during* the Abort call

2010-03-25 Thread Jon Robertson
When using LineMode, I've determined that calling TCustomWSocket.Abort will cause my OnDataAvailable event to fire *during* the call to Abort. My dilemma is that Abort is being called during the handling of an OnDataAvailable event. While that data is being handled, but before it is completely ha

Re: [twsocket] Exceptions ignored in OnDataAvailable method

2010-03-25 Thread Jon Robertson
My service, which communicates using ICS, is "flakey" for some customers. I've got quite a bit of exception handling and logging, and there was nothing indicating an exception was occurring. I finally pinpointed an exception that one customer was getting. I hooked TWSocket.OnDataAvailable and was

Re: [twsocket] THttpCli: Handling Web Pages that Return Nothing

2010-03-25 Thread Arno Garrels
Keith Willis wrote: >> Hi All, >> >> I have an application that uses THttpCli to access a web page that >> intentionally returns nothing, (it's the Pan/Tilt/Zoom control on an >> IP camera mount). >> >> I am currently calling "THttpCli.Get" which will hang in >> "THttpCli.DoRequestSync", (except

Re: [twsocket] THttpCli: Handling Web Pages that Return Nothing

2010-03-25 Thread Francois PIETTE
I have an application that uses THttpCli to access a web page that intentionally returns nothing, (it's the Pan/Tilt/Zoom control on an IP camera mount). I am currently calling "THttpCli.Get" which will hang in "THttpCli.DoRequestSync", (except that I long ago added a timeout). Other than callin

[twsocket] THttpCli: Handling Web Pages that Return Nothing

2010-03-25 Thread Keith Willis
Hi All, I have an application that uses THttpCli to access a web page that intentionally returns nothing, (it's the Pan/Tilt/Zoom control on an IP camera mount). I am currently calling "THttpCli.Get" which will hang in "THttpCli.DoRequestSync", (except that I long ago added a timeout). Other tha

[twsocket] IPv6 lib

2010-03-25 Thread Paul
For anyone interested: I accidentally found some Delphi code for IPv6: http://www.torry.net/authorsmore.php?id=7131 Look in unit HPSockApi Paul -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our websi

Re: [twsocket] SSLv2 and SSLv3 weaker chiphers issue

2010-03-25 Thread Arno Garrels
Fastream Technologies wrote: >> I recall you told me -regarding this issue- that there is no way to >> enforce the server to limit the chiphers to permit during handshake >> in latest OpenSSL versions. Is this true? I don't think so. > Did you receive my message below that I sent yesterday? Ye

Re: [twsocket] POST and PHP

2010-03-25 Thread Arno Garrels
Hello Gary, You must be using an older ICS version. > procedure THttpTestForm.PostOrPut(Request: THttpRequest); > var >DataOut : TMemoryStream; >DataIn : TFileStream; >Buf : String; [..] > if Length(Buf) > 0 then { Check if some data to post } >DataOut.Write(Buf[1], L