cURL / Mailing Lists / curl-library / Single Mail


RE: Bug 2351645

From: Daniel Stenberg <>
Date: Tue, 9 Dec 2008 16:16:22 +0100 (CET)

On Tue, 9 Dec 2008, Igor Novoseltsev wrote:

>> Do you think this works?
> If the handle is head, it is removed from pipelines without any fix at all
> (from within singlesocket()). Therefore in this case there is no need to
> call Curl_getoff_all_pipelines() at all.

Well it is also called from Curl_done() and afaicr it might be head when
called from there.

> Despite that I would insert the latest (fixed) version of
> Curl_getoff_all_pipelines, Since it makes the code more readable.

But with the head-check it is slightly more code being excuted so I rather
only have it this way if actually used...

Received on 2008-12-09