cURL / Mailing Lists / curl-library / Single Mail


Re: Digest auth, POST and Transfer-Encodeing: chunked

From: Daniel Stenberg <>
Date: Fri, 30 Oct 2009 09:06:03 +0100 (CET)

On Fri, 23 Oct 2009, wrote:

> Trying to use digest auth on a post request with chunked transfer-encoding,
> I get a timeout. It looks like libcurl puts the transfer-encoding header on
> the initial empty request, but doesn't put anything in the body so the
> server just sits there waiting. I think an empty request with chunked
> transfer encoding would need to send a marker to indicate the data is
> finished.


I wrote up a test case that repeats your issue, and then I fixed the problem
with the patch that is attached to this mail.

Can you check and verify if this patch fixes the problem in your end as well?


List admin:

Received on 2009-10-30