Skip to content

Re-roll of http-proxy-more branch

Nelson Benitez Leon git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 19 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6http: try http_proxy env var when http.proxy config option is not sethttp-push.c http-walker.c http.c +2 more+69 -238 replies
2/6http: handle proxy proactive authenticationhttp.c+27 -15 replies
3/6http: fix http_proxy specified without protocol partcredential.c http.c+16 -91 reply
4/6http: handle proxy authentication failure (error 407)http.c+9 -01 reply
5/6http: Avoid limit of retrying request only twicehttp.c+7 -43 replies
6/6http: rename HTTP_REAUTH to HTTP_AUTH_RETRYhttp.c http.h+4 -41 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/6] Re-roll of http-proxy-more branch

Hi, this is a reroll of http-proxy-more branch melting the fixup patches and taken into account following Jeff's comments:

http://article.gmane.org/gmane.comp.version-control.git/195443

But I kept using specific curl options for proxyusername and password as they proper handle the username to contain special characters like colon as explained here:

http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTPROXYUSERNAME

and also setting those in set_proxy_auth() function makes for cleaner code imho, but will change it if you still feel uncomfortable with that.

Looking forward to having this merged..

Thanks!

Jeff King (1):
http: fix http_proxy specified without protocol part

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_AUTH_RETRY

 credential.c  |   12 ++++--
 http-push.c   |   24 ++++++------
 http-walker.c |    2 +-
 http.c        |  111 ++++++++++++++++++++++++++++++++++++++++++++++++++------
 http.h        |    4 +-
 remote-curl.c |    4 +-
 6 files changed, 124 insertions(+), 33 deletions(-)
Signature · 1 line
1.7.7.6