cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: CURLMOPT_PIPELINING enabled by default?

From: Frank BASKER <dearbasker_at_yahoo.com>
Date: Thu, 11 Dec 2008 14:49:25 -0800 (PST)

Then I assume it is legitimate for libcurl to call Curl_removeHandleFromPipeline() when pipelining is not enabled (such as in multi.c line 1298)

________________________________
From: Daniel Stenberg <daniel_at_haxx.se>
To: libcurl development <curl-library_at_cool.haxx.se>
Sent: Thursday, December 11, 2008 2:30:27 PM
Subject: Re: CURLMOPT_PIPELINING enabled by default?

On Thu, 11 Dec 2008, Frank BASKER wrote:

>> No, pipelining is not enabled by default.
>
> I was unable to find where pipelining_enabled was set to false in multi.c - unless you call curl_multi_setopt(multiHandle, CURLMOPT_PIPELINING, 0);

The Curl_multi struct is cleared when allocated in curl_multi_init(), which means the field pipelining_enabled will default to false.

-- 
/ daniel.haxx.se
      
Received on 2008-12-11