| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
Re: easy API: curl_easy_perform() doesn't return after receiving all data
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 12 Nov 2006 20:45:22 +0100 (CET)
On Mon, 13 Nov 2006, James Buchanan wrote:
> Are you saying that after libcurl has called its CURLOPT_xxxFUNCTION and
Yes, if you use POSTFIELDS or when uploading set the INFILESIZE.
> If yes, in what order should I set things with curl_easy_setopt()?
Order is not important when you use curl_easy_setopt(), unless you set the
>> > CURL info: Connected to api.google.com (216.239.37.104) port 80 (#0)
That snippest shows the request headers but no body. The Content-Length
> The read function is actually what is called when data is sent from
Nope. The read function is what libcurl calls in your function when data
> And the write function is what is called when libcurl needs the POST data to
... the write function is then the function you provide that writes data to a
> (and presumably somewhere sets content-length if I return the correct
No, the Content-Length is a header and is sent in the request before any read
> A couple of further questions: on Win32,
Well, what do you want it to init? I believe these options are documented.
> And could there be potential issues with the order in which things are set
None that I know of at least.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2006-11-12 These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info