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 investigate further. Regards, Keith. -----Original Message----- From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On Behalf Of Francois PIETTE Sent: Friday, 26 March 2010 4:05 AM To: ICS support mailing Subject: Re: [twsocket] THttpCli: Handling Web Pages that Return Nothing > 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 calling "THttpCli.GetAsync" is there any other way for > "THttpCli" > to handle web pages that return nothing? An HTTP request returning nothing is invalid. It is possible to return a null document (content length = 0) but the HTTP header must be present. This is how HTTP work. You may try to abort the component once the request has been sent. -- francois.pie...@overbyte.be The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.791 / Virus Database: 271.1.1/2768 - Release Date: 03/25/10 04:33:00 No virus found in this outgoing message. Checked by AVG - www.avg.com Version: 9.0.791 / Virus Database: 271.1.1/2768 - Release Date: 03/26/10 05:50:00
No virus found in this outgoing message. Checked by AVG - www.avg.com Version: 9.0.791 / Virus Database: 271.1.1/2770 - Release Date: 03/26/10 05:50:00
-- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be