Re: [twsocket] THttpCli not returning?

2011-04-12 Thread Francois PIETTE
I don't know if there's a better way That is fine. So the HttpCli built-in timeout is not enough?! Only for sync calls. -- 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

Re: [twsocket] THttpCli not returning?

2011-04-12 Thread Arno Garrels
RTT wrote: On 11-04-2011 16:49, Francois PIETTE wrote: I don't know if there's a better way That is fine. So the HttpCli built-in timeout is not enough?! Indeed, method Get is sync and as such has a built-in timeout as specified with property TimeOut. What ICS version do you use? Get

Re: [twsocket] THttpCli not returning?

2011-04-12 Thread David Lewis
Arno, I'm running with V7 here, although possibly not the latest iteration of it. Is there anything recently new to this component that may affect this functionality? Also, I don't have an accessible TimeOut parameter that I can set. Is this internal to the component only? Or is this a new

Re: [twsocket] THttpCli not returning?

2011-04-12 Thread Arno Garrels
David Lewis wrote: Arno, I'm running with V7 here, although possibly not the latest iteration of it. Is there anything recently new to this component that may affect this functionality? Also, I don't have an accessible TimeOut parameter that I can set. Is this internal to the component

Re: [twsocket] THttpCli not returning?

2011-04-12 Thread Daniele Rocchi
I must say what Arno is talking about I experienced too: the built-in timeout doesn't work (and I only do sync calls), this is why I created an external timeout to call the Abort. If the HttpCli component doesn't recieve anything it hangs forever. Daniele On 12 April 2011 09:13, Arno Garrels

Re: [twsocket] THttpCli not returning?

2011-04-12 Thread Arno Garrels
Daniele Rocchi wrote: I must say what Arno is talking about I experienced too: the built-in timeout doesn't work (and I only do sync calls), I didn't say that. The timeout for sync methods has been added in September 2009 and works well AFAIK. This Timeout property does not work with async

Re: [twsocket] THttpCli not returning?

2011-04-12 Thread Daniele Rocchi
I work with Delphi 7 and the Timeout has never worked for me, I don't know if I was using it incorrectly but I was forced to put an external timeout because of this. Daniele On 12 April 2011 10:05, Arno Garrels arno.garr...@gmx.de wrote: Daniele Rocchi wrote: I must say what Arno is talking

[twsocket] THttpCli not returning?

2011-04-11 Thread David Lewis
I have an application that retrieves a single image over HTTP from a video server every 60 seconds. This is does over GPRS so at times can be a little slow, but in general there are no issues. I'm using the THttpCli component to get the Get( ) the images within BDS2006, C++ flavour.

Re: [twsocket] THttpCli not returning?

2011-04-11 Thread Daniele Rocchi
It has happened to me too, I don't know if there's a better way to deal with it, but all I do is create a timeout timer that is set to start at the beginning of a get() and to stop at the end of the Get() request. If the timer reaches 0 before the Get() is completed I abort the operation and the

Re: [twsocket] THttpCli not returning?

2011-04-11 Thread RTT
On 11-04-2011 16:49, Francois PIETTE wrote: I don't know if there's a better way That is fine. So the HttpCli built-in timeout is not enough?! -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our