Skip to content

new roll of proxy improvements

Nelson Benitez Leon git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v5 Latest5 patches 15 repliesIn review

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5http: try http_proxy env var when http.proxy config option is not sethttp-push.c http-walker.c http.c +2 more+44 -233 replies
2/5http: handle proxy proactive authenticationhttp.c+26 -112 replies
3/5http: handle proxy authentication failure (error 407)http.c+9 -00 replies
4/5http: Avoid limit of retrying request only twicehttp.c+7 -40 replies
5/5http: rename HTTP_REAUTH to HTTP_RETRYhttp.c http.h+4 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.

Read the v5 thread

Cover letter [PATCH v5 0/5] new roll of proxy improvements

The changes from v4 are:
- In patch 1/5, read proxy env var accordingly to the protocol used in the destination url, so e.g. if url is a https one, we will only read https_proxy env var. We also read no_proxy env var so to ignore aforementioned proxy env var if no_proxy contains an asterisk ('*') or contains the host used in url destination. To make those changes possible we needed to pass the destination url as a parameter to get_active_slot() and get_curl_handle() functions, so that change is also included in the patch.

- In patch 2/5, added Junio review fixes.

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-push.c   |   24 ++++++++--------
 http-walker.c |    2 +-
 http.c        |   84 ++++++++++++++++++++++++++++++++++++++++++++++++---------
 http.h        |    4 +-
 remote-curl.c |    4 +-
 5 files changed, 88 insertions(+), 30 deletions(-)
Signature · 1 line
1.7.7.6