cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
From: Gabriel Kälin <Gabriel.Kaelin_at_visonys.com>
Date: Wed, 19 Mar 2008 18:08:39 +0100
> -----Original Message-----
> Gabriel Kälin wrote:
Thank you for your explanations. But the long timeout is exactly what makes it only a partial solution in my situation. I'd like to have something like a connect-timeout of e.g. 10 seconds when I start a new HTTP request on an re-used TCP connection. But if the request could be sent successfully, I would allow the server to take minutes until it produces a HTTP response.
I'll check whether Solaris 10 offers any timeout configuration possibilities for TCP keep alive. Maybe that will work for me.
That's actually a good idea to work around the problem. This would at least reduce the risk of ending with a dead connection. The time overhead shouldn't hurt too much to establish a new connection if the old one had not been used for many seconds. I'd probably need to do that in libcurl though, as the application does not have access to the TCP connections used by curl handles, right?
These mail archives are generated by hypermail.
Page updated November 12, 2010.
web site info