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-3052450 ] chunked trailer without Trailer header throws error

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Wed, 25 Aug 2010 11:47:35 +0000

Bugs item #3052450, was opened at 2010-08-24 20:38
Message generated for change (Comment added) made by bagder
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3052450&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 behaviour
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Patrick McManus ()
Assigned to: Daniel Stenberg (bagder)
Summary: chunked trailer without Trailer header throws error

Initial Comment:
An http chunked message with a trailer element (e.g. Content-MD5) but without a corresponding Trailer: Content-MD5 header generates a curl error. (chunky processor #3 I believe).

The message is legal if not ideal, so it shouldn't throw the error. RFC 2616 makes the inclusion of the Trailer header a SHOULD and in no way does its generation or omission change the syntax of the chunked encoding or the legality of including trailers there.

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

Comment By: Daniel Stenberg (bagder)
Date: 2010-08-25 13:47

Message:
Thanks for the report, this problem is now fixed in the git repository.

To try it out, you either checkout/update your git clone:
http://curl.haxx.se/source.html

or you try tomorrow's daily snapshot: http://curl.haxx.se/snapshots/

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

Comment By: Daniel Stenberg (bagder)
Date: 2010-08-25 09:57

Message:
You're right. There's no attempt to handle the trailer if the Trailer:
header was not present.

I'll work on a fix.

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

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3052450&group_id=976
Received on 2010-08-25

These mail archives are generated by hypermail.

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

File upload with ASP.NET