cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Question about curl timers

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 26 Sep 2012 16:59:45 +0200 (CEST)

On Tue, 25 Sep 2012, Carlo Wood wrote:

> is it possible to change , CURLOPT_LOW_SPEED_TIME, CURLOPT_CONNECTTIMEOUT
> and while a transaction is in progress, ie from the read- or write callback?

Perhaps.

The documentation says you should only change them between transfers, but in
reality you can actually modify some of them during run-time.

I haven't tried to document which ones that can be modified at run-time as
that would be an endorsement and acknowledgement that they actually work and
then we would have to maintain that functionality for all future and for that
I would need test cases that verify that they do and we don't have such
tests...

> I'm trying to solve the following problem:

I suggest you implement your own custom logic using libcurl's many callbacks,
including PROGRESSFUNCTION. Then you can make it take all of those variables
into account.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-09-26