curl / Mailing Lists / curl-library / Single Mail


Re: Problems w/ pausing & unpausing HTTP connections

From: Daniel Stenberg <>
Date: Tue, 13 Mar 2018 23:18:58 +0100 (CET)

On Mon, 12 Mar 2018, Philip Prindeville wrote:

> Problem is that weird things seem to happen if you’re able to unpause your
> Curl handle in the timer callback, then that causes the write callback to
> fire immediately (before the timer callback has even completed).

This behavior is documented in the curl_easy_pause man page:

   When this function is called to unpause reading, the chance is high that you
   will get your write callback called before this function returns.


Received on 2018-03-13