cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Curllib on vista?

From: Jared Wilkin <JaredW_at_vulcan.com>
Date: Wed, 5 Mar 2008 15:47:26 -0800

 

 

>Jamie Lokier wrote:

>>Then it should have the same behaviour as Vista (which is the same on
>>most systems): the TCP/IP connection stalls with no data, but no
>>aborted connection.

>>It sounds like you want libcurl to time out after no data is
>>sent/received for a while, and it isn't doing that.

>Yes is there a libcurl timeout that I can set such that it will timeout
after a period of inactivity? Ex timeout if there is no data read for x
seconds?

Ok so after looking at the curl options it appears the combination of
CURLOPT_LOW_SPEED_LIMIT + CURLOPT_LOW_SPEED_TIME as Daniel suggested is
what I am looking for. Am I on the right path?
Received on 2008-03-06