git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 0/3] http: proxy support improvements

From
NLNelson Benitez Leon <nelsonjesus.benitez@seap.minhap.es>
Date
Feb 28, 2012, 12:50 UTC
Message-ID
<4F4CCD88.4000102@seap.minhap.es>

[cc'ing jeff king and sam vilain as per git-blame they've work on http auth and proxy code..]

Hi, my initial motivation for this patch was to add NTLM proxy authentication so I could 'git clone' from inside my employers network, but apart from doing that, I also added two more features, so, so I'm sending three patches which implement the following features:

- Support NTLM proxy authentication (as well as other authentication
methods) by setting CURLOPT_PROXYAUTH[1] to CURLAUTH_ANY.
- Look up environment vars http_proxy and HTTP_PROXY in case git
http.proxy config option is not set. This supports system wide proxy
support in terminals.
- Support proxy urls with username but without a password, in which
case we interactively ask for the password (as it's already done in
http auth code). This makes possible to not have the password written
down in git config files or in env vars.
Thanks!
[1] http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTPROXYAUTH
Nelson Benitez Leon (3):
  http: authenticate on NTLM proxies and others suppported by CuRL
  http: try standard proxy env vars when http.proxy config option is
    not set
  http: when proxy url has username but no password, ask for password
 http.c |   50 ++++++++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 48 insertions(+), 2 deletions(-)
-- 
1.7.7.6
Message 1 of 1 in “http: proxy support improvements”
  1. 0/3 http: proxy support improvementsNelson Benitez Leon, Feb 28, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.