path: root/remote-curl.c
diff options
authorMartin Storsjö <>2009-11-27 15:43:08 (GMT)
committerJunio C Hamano <>2009-11-28 06:46:33 (GMT)
commitb8ac923010484908d8426cb8ded5ad7e8c21a7f6 (patch)
treee74eff9c15440748a2125447cd1443d884002a9f /remote-curl.c
parentad75ebe5b3f10e77f1150d2d8111e6a60cb9039a (diff)
Add an option for using any HTTP authentication scheme, not only basic
This adds the configuration option http.authAny (overridable with the environment variable GIT_HTTP_AUTH_ANY), for instructing curl to allow any HTTP authentication scheme, not only basic (which sends the password in plaintext). When this is enabled, curl has to do double requests most of the time, in order to discover which HTTP authentication method to use, which lowers the performance slightly. Therefore this isn't enabled by default. One example of another authentication scheme to use is digest, which doesn't send the password in plaintext, but uses a challenge-response mechanism instead. Using digest authentication in practice requires at least curl 7.18.1, due to bugs in the digest handling in earlier versions of curl. Signed-off-by: Martin Storsjö <> Signed-off-by: Tay Ray Chuan <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'remote-curl.c')
0 files changed, 0 insertions, 0 deletions