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: Mon, 26 Oct 2009 15:51:21 +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.

Hm, I haven't tried this yet but it sounds like you're on to a bug. The end
"marker" btw is simply a chunk size of 0 (zero).

Any chance you can chase down this bug yourself?

-- 
  / 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-26