author | Martin Storsjö <martin@martin.st> | |
Mon, 23 Nov 2009 03:03:28 +0000 (11:03 +0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 23 Nov 2009 06:56:54 +0000 (22:56 -0800) | ||
commit | d21f9794ceff7d89fd2fc44a3e5ff106d5dbd141 | |
tree | d9de5a2b5895d54c538b8fd851169854d6104254 | tree | snapshot |
parent | 7b357240f047bfbeae377b8c5327944337124a0f | commit | diff |
Disable CURLOPT_NOBODY before enabling CURLOPT_PUT and CURLOPT_POST
This works around a bug in curl versions up to 7.19.4, where disabling the
CURLOPT_NOBODY option sets the internal state incorrectly considering that
CURLOPT_PUT was enabled earlier.
The bug is discussed at http://curl.haxx.se/bug/view.cgi?id=2727981 and is
corrected in the latest version of curl in CVS.
This bug usually has no impact on git, but may surface if using multi-pass
authentication methods.
Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Tay Ray Chuan <rctay89@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This works around a bug in curl versions up to 7.19.4, where disabling the
CURLOPT_NOBODY option sets the internal state incorrectly considering that
CURLOPT_PUT was enabled earlier.
The bug is discussed at http://curl.haxx.se/bug/view.cgi?id=2727981 and is
corrected in the latest version of curl in CVS.
This bug usually has no impact on git, but may surface if using multi-pass
authentication methods.
Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Tay Ray Chuan <rctay89@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
http-push.c | diff | blob | history | |
remote-curl.c | diff | blob | history |