cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[ curl-Bugs-3577557 ] curl 7.28 breaks git http/https transport when auth is used

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Wed, 17 Oct 2012 09:26:09 -0700

Bugs item #3577557, was opened at 2012-10-15 22:47
Message generated for change (Comment added) made by erikjwaxx
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3577557&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: http
Group: bad behaviour
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Konstantin Gribov ()
Assigned to: Nobody/Anonymous (nobody)
Summary: curl 7.28 breaks git http/https transport when auth is used

Initial Comment:
Description:
New curl version (7.28) breaks git http/https transport when auth used.

git clone/push falls with "error: RPC failed; result=22, HTTP code = 401" on http/https repo with http authentication.
As I see in git logs (when started with GIT_CURL_VERBOSE=1) it doesn't sends Authorization header on POST.

With curl 7.27 all works fine.

Additional info:
* git 1.7.7.7 till 1.7.12.3
* curl 7.28

Steps to reproduce:
git clone/push http/https repo with auth. It will fail with "error: RPC failed; result=22, HTTP code = 401".
Fails on second POST request because of absence of Authorization HTTP header.

* curl -V
curl 7.28.0 (x86_64-unknown-linux-gnu) libcurl/7.28.0 OpenSSL/1.0.1c zlib/1.2.7 libssh2/1.4.2
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp
Features: AsynchDNS IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP

----------------------------------------------------------------------

Comment By: Erik Weatherwax (erikjwaxx)
Date: 2012-10-17 09:26

Message:
Still broken for me in current git
(f1d2e1850819f54d1c950989614da7445bdd457f)

----------------------------------------------------------------------

Comment By: Dan Fandrich (dfandrich)
Date: 2012-10-17 06:17

Message:
This issue was solved in commit 1a02e84589efb3f8717d50bdc78d3f369b799198.
Can you verify that it solves the problem for you?

----------------------------------------------------------------------

Comment By: Erik Weatherwax (erikjwaxx)
Date: 2012-10-16 14:29

Message:
ce8311c7e49eca93c136b58efa6763853541ec97 is the first bad commit
commit ce8311c7e49eca93c136b58efa6763853541ec97
Author: Joe Mason <jmason_at_rim.com>
Date: Fri Jul 27 17:25:45 2012 -0400

    Zero out auth structs before transfer

:040000 040000 c666ee4089e5b205e9062d3afb0d69bb696f87e0
a43562a6999f22e093048ec80631abf78d281541 M lib

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3577557&group_id=976
Received on 2012-10-17

These mail archives are generated by hypermail.

donate! Page updated January 05, 2012.
web site info

File upload with ASP.NET