cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl does not honor the timeout incase of redirect

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 31 Dec 2014 19:40:11 +0100 (CET)

On Tue, 30 Dec 2014, Rabi Dora wrote:

> I am using using curl version 7.33 and the libcurl C library ,
> curl_easy_perform() function.
> The code set the curl timeout to 30ms and follow redirect

> But it does NO honor the timeout - incase of the redirect; It follows the
> redirect location but if the redirect page takes long time to return, then
> it ignores the timeout and wait for the redirect page to return.

I believe this bug was fixed in 7.36.0. Can you please try a recent version
and if it still fails, show us a recipe on how to repdroduce this?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2014-12-31