cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker mailing list Archives

[ curl-Bugs-1631566 ] HTTP Pipelining, NULL content

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Thu, 11 Jan 2007 04:24:11 -0800

Bugs item #1631566, was opened at 2007-01-09 15:53
Message generated for change (Comment added) made by bagder
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1631566&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: http
Group: wrong content
Status: Open
Resolution: None
>Priority: 6
Private: No
Submitted By: sdac (sdac)
Assigned to: Daniel Stenberg (bagder)
Summary: HTTP Pipelining, NULL content

Initial Comment:
I have a multi interface, wherein I have put three easy interfaces each pointing to a separate URL. Two of the URLs are to documents with text/html as mime-type and the third is to a audio/mpeg. When I list the returned mime types I get two "text/html" and one "\0", just null. Switching CURLMOPT_PIPELINING to off without changing anything else in the code, and then running, returns two "text/html" and one "audio/mpeg", just like it is supposed to do.

Now I haven't read anything about how http-pipelining works, I don't even know how the client is supposed to separate each respons and tell what request each response corresponds to without using separate connections. I can't see how this is done. Maybe that explains the behavior I see, so it might not be a bug after all.

I will attach a test program for the case.

Also, I quickly just wrote this program to reproduce this case, and I get a segmentation fault in the end when cleaning up. It's probably because I don't clean up properly? I don't know, I don't get the segmentation fault in my other programs.

libcurl version is 7.16.0.

----------------------------------------------------------------------

>Comment By: Daniel Stenberg (bagder)
Date: 2007-01-11 13:24

Message:
Logged In: YES
user_id=1110
Originator: NO

pipelining should have no special/different effect in the view of the app,
it should only make libcurl re-use the connection

I intend to investigate this, but it'll take a little while before I get a
chance

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1631566&group_id=976
Received on 2007-01-11

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET