curl-library
Re: curl_easy_pause bugs
From: Dmitriy Sergeyev <dsergeyev_at_issart.com>
Date: Wed, 10 Sep 2008 04:22:35 +0700
Date: Wed, 10 Sep 2008 04:22:35 +0700
On Mon, Sep 8, 2008 at 7:40 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:
> A) It assumes that the multi perform function is called again before the
> returned failure is noticed. This may be true in most cases, but I bet we
> can think of scenarios where it won't be called, or at least won't be
> called again for quite some time and that may end up rather strange
> behavior to applications.
I suppose then, good way to solve this is to never call write-callback
on curl_easy_pause at all. And modify curl_easy_pause in such a way,
that it will only alter some transfer state. But write-callback will
be called only on multi perform call.
-- Best regards, Dmitriy Sergeyev, C++ Developer of ISS Art, Ltd., Omsk, Russia Web: http://www.issart.comReceived on 2008-09-09