curl-library
RE: curl_multi_info_read
Date: Wed, 19 Dec 2007 14:04:44 -0800
Attached is a slightly modified version of the mult-app example in
curl-7.17.1. The output of the program is:
ReadCallback - Entering
size[1]
nmemb[16372]
ReadCallback - bytes read[2485] total bytes read[2485]
ReadCallback - Entering
size[1]
nmemb[16372]
ReadCallback - bytes read[0] total bytes read[2485]
<body><h2>HTTP/1.1 403 Forbidden</h2></body>
After calling curl_multi_info_read() - remaining messages = 0
HTTP Code after transfer is [403]
Size upload after transfer is [0]
found transfer information:
msg = 1
easy_handle = 134738104
data.result = No error
HTTP transfer completed with status 0
I expect curl_multi_info_read() to return something other than 0 when
the HTTP error code is 403.
Pete McLean
-----Original Message-----
From: curl-library-bounces_at_cool.haxx.se
[mailto:curl-library-bounces_at_cool.haxx.se] On Behalf Of Daniel Stenberg
Sent: Tuesday, December 18, 2007 10:59 AM
To: libcurl development
Subject: RE: curl_multi_info_read
On Tue, 18 Dec 2007, McLean, Peter wrote:
> I'm actually using libcurl v. 7.16.2
If you try this with 7.17.1, do you still get this problem? And if so,
can you
please show us a small example program we can use to repeat this
problem?
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
- application/octet-stream attachment: multi-app.c