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

[PATCH v4 0/5] New roll of proxy improvements

From
NLNelson Benitez Leon <nelsonjesus.benitez@seap.minhap.es>
Date
Mar 12, 2012, 17:24 UTC
Message-ID
<4F5E3165.9090304@seap.minhap.es>

So here is a new roll based on last comments, changes from last roll are:

- Unify in new function set_proxy_auth() the code for
setting proxy username and password in cURL options, which is
indepently setted and not as part of the CURLOPT_PROXY as before.
- If using libcurl >= 7.19.1 use options CURLOPT_PROXYUSERNAME
and CURLOPT_PROXYPASSWORD which let special characters like '@'
or ':' to be present in those options and be correctly treated
by libcurl. If libcurl is < 7.19.1 then use CURLOPT_PROXYUSERPWD
option.
- Refactor http_request_reauth() function to permit more than two
retries, this comes from a jeff king's patch.
- Rename HTTP_REAUTH return status to HTTP_RETRY to better fit the
new semantics according to the aforementioned refactor in
http_request_reauth().
Regards,
Nelson Benitez Leon (5):
  http: try http_proxy env var when http.proxy config option is not set
  http: handle proxy proactive authentication
  http: handle proxy authentication failure (error 407)
  http: Avoid limit of retrying request only twice
  http: rename HTTP_REAUTH to HTTP_RETRY
 http.c |   56 ++++++++++++++++++++++++++++++++++++++++++++++++++------
 http.h |    2 +-
 2 files changed, 51 insertions(+), 7 deletions(-)
-- 
1.7.7.6
Message 1 of 1 in “New roll of proxy improvements”
  1. 0/5 New roll of proxy improvementsNelson Benitez Leon, Mar 12, 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.