cURL / Mailing Lists / curl-library / Single Mail

curl-library

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

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

On Fri, 23 Oct 2009, tom_at_ashok-art.com 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.

Hi!

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?

-- 
  / daniel.haxx.se


-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2009-10-30