1. 28 2月, 2008 1 次提交
    • M
      Set proxy override with http_init() · 9fc6440d
      Mike Hommey 提交于
      In transport.c, proxy setting (the one from the remote conf) was set through
      curl_easy_setopt() call, while http.c already does the same with the
      http.proxy setting. We now just use this infrastructure instead, and make
      http_init() now take the struct remote as argument so that it can take the
      http_proxy setting from there, and any other property that would be added
      later.
      
      At the same time, we make get_http_walker() take a struct remote argument
      too, and pass it to http_init(), which makes remote defined proxy be used
      for more than get_refs_via_curl().
      
      We leave out http-fetch and http-push, which don't use remotes for the
      moment, purposefully.
      Signed-off-by: NMike Hommey <mh@glandium.org>
      Acked-by: NDaniel Barkalow <barkalow@iabervon.org>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      9fc6440d
  2. 22 1月, 2008 1 次提交
  3. 15 12月, 2007 3 次提交
  4. 10 12月, 2007 1 次提交
  5. 19 9月, 2007 2 次提交
  6. 04 5月, 2007 1 次提交
  7. 28 12月, 2006 1 次提交
    • J
      Work around http-fetch built with cURL 7.16.0 · 500ebb01
      Junio C Hamano 提交于
      It appears that curl_easy_duphandle() from libcurl 7.16.0
      returns a curl session handle which fails GOOD_MULTI_HANDLE()
      check in curl_multi_add_handle().  This causes fetch_ref() to
      fail because start_active_slot() cannot start the request.
      
      For now, check for 7.16.0 to work this issue around.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      500ebb01
  8. 20 9月, 2006 1 次提交
    • A
      Patch for http-fetch.c and older curl releases · c774b2dc
      Art Haas 提交于
      Older curl releases do not define CURLE_HTTP_RETURNED_ERROR, they
      use CURLE_HTTP_NOT_FOUND instead. Newer curl releases keep the
      CURLE_HTTP_NOT_FOUND definition but using a -DCURL_NO_OLDIES
      preprocessor flag the old name will not be present in the 'curl.h'
      header.
      
      This patch makes our code written for newer releases of the curl
      library but allow compiling against an older curl (older than
      0x070a03) by defining the missing CURLE_HTTP_RETURNED_ERROR as a
      synonym for CURLE_HTTP_NOT_FOUND.
      Signed-off-by: NArt Haas <ahaas@airmail.net>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      c774b2dc
  9. 11 3月, 2006 1 次提交
    • N
      HTTP slot reuse fixes · baa7b67d
      Nick Hengeveld 提交于
      Incorporate into http-push a fix related to accessing slot results after
      the slot was reused, and fix a case in run_active_slot where a
      finished slot wasn't detected if the slot was reused.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      baa7b67d
  10. 07 2月, 2006 1 次提交
  11. 01 2月, 2006 1 次提交
  12. 20 11月, 2005 1 次提交