cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Timer left at 0 and firing over and over. Regression after 7.32.0

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 24 Mar 2014 20:19:59 +0100 (CET)

On Mon, 24 Mar 2014, Damian Lezama wrote:

> [Damian] Then I misunderstood how libcurl was supposed to work. Let me see
> if I got it right this time: On a timeout callback I will
> program/reprogram/stop my timer and then forget about it. I don't even need
> to internally store the value.

Right, unless you need it for other purposes.

>> That's not how it works though!
>
> [Damian] Yup, thanks a lot for the help. I think my interpretation of the
> doc was libcurl telling me "this is the timeout value to use" in the
> callback, and it seems to work more like "please program this timer"

If you have suggestions of what to add or enhance in the docs to make this
clearer, please let us know. Getting documentation clear and easy to
understand is hard!

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