cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: PUT of empty file with multi-pass authentication fails

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 23 Mar 2012 22:36:36 +0100 (CET)

On Mon, 19 Mar 2012, Jonathan Brown wrote:

> I'm using libcurl 7.24.0 to upload files to a server. The request hangs (or
> times out) if I try to PUT an empty file. I've set CURLOPT_HTTPAUTH to
> CURLAUTH_ANY and supplied a CURLOPT_USERPWD. Server auth using Digest
> succeeds for CURLOPT_INFILESIZE_LARGE > 0.

I've tried to write up a test case to repeat this problem but I've failed. The
attached file can be put in tests/data/ and then I can 'runtests.pl 1330' just
fine with my git version. Can you? Can you spot any difference compared to
your case?

-- 
  / daniel.haxx.se


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

Received on 2012-03-23