curl-library
RE: PUT of empty file with multi-pass authentication fails
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 5 Apr 2012 22:55:27 +0200 (CEST)
Date: Thu, 5 Apr 2012 22:55:27 +0200 (CEST)
On Mon, 26 Mar 2012, Jonathan Brown wrote:
> Can you check what occurs in your code at http.c line 383 in
> http_perhapsrewind():
>
> if((expectsend == -1) || (expectsend > bytessent)) {
> ...
> conn->bits.close = TRUE;
> data->req.size = 0; /* don't download any more than 0 bytes */
> ...
> }
>
> Does the if test pass or fail? What are the values of expectsend and
> bytessent?
Both expectsend and bytessent are always 0 when test case 1330 runs for me...
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2012-04-05