diff options
author | Martin Storsjö <martin@martin.st> | 2009-11-27 23:43:08 +0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-11-27 22:46:33 -0800 |
commit | b8ac923010484908d8426cb8ded5ad7e8c21a7f6 (patch) | |
tree | e74eff9c15440748a2125447cd1443d884002a9f /unpack-trees.h | |
parent | http: maintain curl sessions (diff) | |
download | tgif-b8ac923010484908d8426cb8ded5ad7e8c21a7f6.tar.xz |
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ö <martin@martin.st>
Signed-off-by: Tay Ray Chuan <rctay89@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'unpack-trees.h')
0 files changed, 0 insertions, 0 deletions