{"thread":{"id":"29919","subject":"[PATCH v4 0/5] New roll of proxy improvements","startedAt":"2012-03-12T17:24:53Z","lastAt":"2012-03-12T17:24:53Z","messageCount":1,"participants":["Nelson Benitez Leon"],"isPatch":true,"patchVersion":4,"patchTotal":5},"messages":[{"id":"186729","messageId":"4F5E3165.9090304@seap.minhap.es","threadId":"29919","inReplyTo":null,"subject":"[PATCH v4 0/5] New roll of proxy improvements","fromName":"Nelson Benitez Leon","fromEmail":"nelsonjesus.benitez@seap.minhap.es","sentAt":"2012-03-12T17:24:53Z","receivedAt":"2012-03-12T17:24:53Z","isPatch":true,"sender":{"key":"nelsonjesus.benitez@seap.minhap.es","avatar":null},"body":"So here is a new roll based on last comments, changes\nfrom last roll are:\n\n- Unify in new function set_proxy_auth() the code for\nsetting proxy username and password in cURL options, which is\nindepently setted and not as part of the CURLOPT_PROXY as before.\n\n- If using libcurl >= 7.19.1 use options CURLOPT_PROXYUSERNAME\nand CURLOPT_PROXYPASSWORD which let special characters like '@'\nor ':' to be present in those options and be correctly treated\nby libcurl. If libcurl is < 7.19.1 then use CURLOPT_PROXYUSERPWD\noption.\n\n- Refactor http_request_reauth() function to permit more than two\nretries, this comes from a jeff king's patch.\n\n- Rename HTTP_REAUTH return status to HTTP_RETRY to better fit the\nnew semantics according to the aforementioned refactor in\nhttp_request_reauth().\n\nRegards,\n\nNelson Benitez Leon (5):\n  http: try http_proxy env var when http.proxy config option is not set\n  http: handle proxy proactive authentication\n  http: handle proxy authentication failure (error 407)\n  http: Avoid limit of retrying request only twice\n  http: rename HTTP_REAUTH to HTTP_RETRY\n\n http.c |   56 ++++++++++++++++++++++++++++++++++++++++++++++++++------\n http.h |    2 +-\n 2 files changed, 51 insertions(+), 7 deletions(-)\n\n-- \n1.7.7.6\n"}]}