cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Questions about timeout during transfer

From: Jeff Pohlmeyer <yetanothergeek_at_gmail.com>
Date: Wed, 25 May 2011 01:18:42 -0500

On Wed, May 25, 2011, Saqib Ali wrote:

> I cannot simply set the CURLOPT_TIMEOUT to 60 seconds.

> Surely I can't be the only one to encounter this type of situation.

You certainly are not the only one, that's why libcurl provides these options:

http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTLOWSPEEDLIMIT
http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTLOWSPEEDTIME

 - Jeff
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-05-25