aboutsummaryrefslogtreecommitdiffstats
path: root/http.c
AgeCommit message (Expand)AuthorFilesLines
2021-05-21Merge branch 'cs/http-use-basic-after-failed-negotiate'Junio C Hamano1-8/+7
2021-05-19Revert "remote-curl: fall back to basic auth if Negotiate fails"Jeff King1-8/+7
2021-04-27Use the final_oid_fn to finalize hashing of object IDsbrian m. carlson1-1/+1
2021-03-30Merge branch 'cs/http-use-basic-after-failed-negotiate'Junio C Hamano1-7/+8
2021-03-26Merge branch 'js/http-pki-credential-store'Junio C Hamano1-2/+11
2021-03-22remote-curl: fall back to basic auth if Negotiate failsChristopher Schenk1-7/+8
2021-03-13use CALLOC_ARRAYRené Scharfe1-2/+2
2021-03-11http: drop the check for an empty proxy password before approvingJohn Szakmeister1-2/+1
2021-03-11http: store credential when PKI auth is usedJohn Szakmeister1-0/+10
2021-02-22http: allow custom index-pack argsJonathan Tan1-7/+8
2020-07-28strvec: fix indentation in renamed callsJeff King1-1/+1
2020-07-28strvec: convert more callers away from argv_array nameJeff King1-3/+3
2020-06-25Merge branch 'jt/cdn-offload'Junio C Hamano1-39/+43
2020-06-10http-fetch: support fetching packfiles by URLJonathan Tan1-7/+21
2020-06-10http: refactor finish_http_pack_request()Jonathan Tan1-15/+16
2020-06-10http: use --stdin when indexing dumb HTTP packJonathan Tan1-22/+11
2020-06-05http: redact all cookies, teach GIT_TRACE_REDACT=0Jonathan Tan1-24/+11
2020-05-11http, imap-send: stop using CURLOPT_VERBOSEJonathan Tan1-1/+7
2020-04-19Sync with 2.26.2Junio C Hamano1-0/+2
2020-04-19Git 2.26.2v2.26.2Jonathan Nieder1-0/+1
2020-04-19Git 2.25.4v2.25.4Jonathan Nieder1-0/+1
2020-04-19Git 2.24.3v2.24.3Jonathan Nieder1-0/+1
2020-04-19Git 2.22.4v2.22.4Jonathan Nieder1-0/+1
2020-04-19Git 2.21.3v2.21.3Jonathan Nieder1-0/+1
2020-04-19Git 2.20.4v2.20.4Jonathan Nieder1-0/+1
2020-04-19Git 2.19.5v2.19.5Jonathan Nieder1-0/+1
2020-04-19Git 2.18.4v2.18.4Jonathan Nieder1-0/+1
2020-04-19credential: parse URL without host as empty host, not unsetJeff King1-0/+1
2020-03-25Merge branch 'js/https-proxy-config'Junio C Hamano1-5/+69
2020-03-05http: add environment variable support for HTTPS proxiesJorge Lopez Silva1-0/+7
2020-03-05http: add client cert support for HTTPS proxiesJorge Lopez Silva1-5/+62
2020-02-10strbuf: add and use strbuf_insertstr()René Scharfe1-2/+2
2019-12-01Merge branch 'cb/curl-use-xmalloc'Junio C Hamano1-10/+8
2019-11-07remote-curl: unbreak http.extraHeader with custom allocatorsJohannes Schindelin1-10/+8
2019-09-30Merge branch 'mh/http-urlmatch-cleanup'Junio C Hamano1-0/+1
2019-08-26http: don't leak urlmatch_config.varsMike Hommey1-0/+1
2019-06-28strbuf: give URL-encoding API a char predicate fnMatthew DeVore1-2/+4
2019-05-08Make fread/fwrite-like functions in http.c more like fread/fwrite.Mike Hommey1-6/+6
2019-04-25Merge branch 'bc/hash-transition-16'Junio C Hamano1-16/+17
2019-04-25Merge branch 'jk/server-info-rabbit-hole'Junio C Hamano1-21/+14
2019-04-16http: simplify parsing of remote objects/info/packsJeff King1-21/+14
2019-04-01http: replace sha1_to_hexbrian m. carlson1-6/+6
2019-04-01http: compute hash of downloaded objects using the_hash_algobrian m. carlson1-5/+5
2019-04-01http: replace hard-coded constant with the_hash_algobrian m. carlson1-1/+1
2019-04-01object-store: rename and expand packed_git's sha1 memberbrian m. carlson1-6/+7
2019-03-24http: factor out curl result code normalizationJeff King1-6/+12
2019-02-06Merge branch 'jk/loose-object-cache-oid'Junio C Hamano1-7/+7
2019-01-29Merge branch 'ms/http-no-more-failonerror'Junio C Hamano1-13/+19
2019-01-10http: enable keep_error for HTTP requestsMasaya Suzuki1-23/+19
2019-01-10http: support file handles for HTTP_KEEP_ERRORMasaya Suzuki1-3/+13
2019-01-08sha1-file: modernize loose object file functionsJeff King1-2/+2
2019-01-08http: use struct object_id instead of bare sha1Jeff King1-7/+7
2019-01-04Merge branch 'jk/loose-object-cache'Junio C Hamano1-2/+2
2019-01-04Merge branch 'fc/http-version'Junio C Hamano1-0/+39
2018-11-29i18n: fix small typosJean-Noël Avila1-1/+1
2018-11-13sha1_file_name(): overwrite buffer instead of appendingJeff King1-2/+2
2018-11-09http: add support selecting http versionForce Charlie1-0/+39
2018-11-03Merge branch 'jc/http-curlver-warnings'Junio C Hamano1-4/+2
2018-11-03Merge branch 'js/mingw-http-ssl'Junio C Hamano1-1/+70
2018-10-26http: give curl version warnings consistentlyJunio C Hamano1-4/+2
2018-10-26http: when using Secure Channel, ignore sslCAInfo by defaultJohannes Schindelin1-1/+18
2018-10-26http: add support for disabling SSL revocation checks in cURLBrendan Forster1-0/+17
2018-10-16http: add support for selecting SSL backends at runtimeJohannes Schindelin1-0/+35
2018-08-29convert "hashcmp() != 0" to "!hasheq()"Jeff King1-1/+1
2018-08-17refactor various if (x) FREE_AND_NULL(x) to just FREE_AND_NULL(x)Ævar Arnfjörð Bjarmason1-3/+1
2018-05-30Merge branch 'bw/remote-curl-compressed-responses'Junio C Hamano1-1/+1
2018-05-30Merge branch 'jk/snprintf-truncation'Junio C Hamano1-30/+36
2018-05-30Merge branch 'bc/object-id'Junio C Hamano1-6/+7
2018-05-30Merge branch 'js/use-bug-macro'Junio C Hamano1-4/+4
2018-05-23remote-curl: accept all encodings supported by curlBrandon Williams1-1/+1
2018-05-21http: use strbufs instead of fixed buffersJeff King1-30/+36
2018-05-08Merge branch 'bw/protocol-v2'Junio C Hamano1-17/+8
2018-05-06Replace all die("BUG: ...") calls by BUG() onesJohannes Schindelin1-4/+4
2018-05-02http: eliminate hard-coded constantsbrian m. carlson1-6/+7
2018-04-11Merge branch 'lv/tls-1.3'Junio C Hamano1-0/+3
2018-04-11Merge branch 'sb/packfiles-in-repository'Junio C Hamano1-1/+1
2018-04-11Merge branch 'sb/object-store'Junio C Hamano1-3/+3
2018-03-29http: allow use of TLS 1.3Loganaden Velvindron1-0/+3
2018-03-26packfile: allow install_packed_git to handle arbitrary repositoriesStefan Beller1-1/+1
2018-03-26sha1_file: add repository argument to sha1_file_nameStefan Beller1-3/+2
2018-03-26object-store: move packed_git and packed_git_mru to object storeStefan Beller1-0/+1
2018-03-21Merge branch 'rj/http-code-cleanup'Junio C Hamano1-1/+3
2018-03-15http: fix an unused variable warning for 'curl_no_proxy'Ramsay Jones1-1/+3
2018-03-15http: don't always add Git-Protocol headerBrandon Williams1-17/+0
2018-03-15http: allow providing extra headers for http requestsBrandon Williams1-0/+8
2018-03-06Merge branch 'bw/c-plus-plus'Junio C Hamano1-5/+5
2018-02-22http: rename 'new' variablesBrandon Williams1-5/+5
2018-02-13Merge branch 'jt/http-redact-cookies'Junio C Hamano1-8/+74
2018-02-13Merge branch 'cc/sha1-file-name'Junio C Hamano1-6/+10
2018-01-19http: support omitting data from tracesJonathan Tan1-8/+19
2018-01-19http: support cookie redaction when tracingJonathan Tan1-0/+55
2018-01-17sha1_file: remove static strbuf from sha1_file_name()Christian Couder1-6/+10
2018-01-05Merge branch 'rs/use-argv-array-in-child-process'Junio C Hamano1-8/+3
2017-12-28Merge branch 'ws/curl-http-proxy-over-https'Junio C Hamano1-0/+5
2017-12-22http: use internal argv_array of struct child_processRené Scharfe1-8/+3
2017-12-19http: support CURLPROXY_HTTPSWei Shuyu1-0/+5
2017-12-06Merge branch 'bw/protocol-v1'Junio C Hamano1-0/+18
2017-10-17http: tell server that the client understands v1Brandon Williams1-0/+18
2017-09-22curl_trace(): eliminate switch fallthroughJeff King1-3/+4
2017-08-26Merge branch 'jt/packmigrate'Junio C Hamano1-0/+1
2017-08-24Merge branch 'tc/curl-with-backports'Junio C Hamano1-4/+6
2017-08-23pack: move pack name-related functionsJonathan Tan1-0/+1
2017-08-11http: use a feature check to enable GSSAPI delegation controlTom G. Christensen1-3/+3
2017-08-11http: fix handling of missing CURLPROTO_*Tom G. Christensen1-1/+3
2017-08-11Merge branch 'jc/http-sslkey-and-ssl-cert-are-paths'Junio C Hamano1-2/+2
2017-07-20http.c: http.sslcert and http.sslkey are both pathnamesJunio C Hamano1-2/+2
2017-06-24Merge branch 'ab/free-and-null'Junio C Hamano1-10/+5
2017-06-16coccinelle: make use of the "type" FREE_AND_NULL() ruleÆvar Arnfjörð Bjarmason1-10/+5
2017-06-15config: don't include config.h by defaultBrandon Williams1-0/+1
2017-04-23Merge branch 'dt/http-postbuffer-can-be-large'Junio C Hamano1-2/+4
2017-04-23Merge branch 'sr/http-proxy-configuration-fix'Junio C Hamano1-2/+11
2017-04-13http.postbuffer: allow full range of ssize_t valuesDavid Turner1-2/+4
2017-04-13http: fix the silent ignoring of proxy misconfiguraionSergey Ryazanov1-0/+3
2017-04-13http: honor empty http.proxy option to bypass proxySergey Ryazanov1-2/+8
2017-03-30convert unchecked snprintf into xsnprintfJeff King1-5/+5
2017-03-16Merge branch 'jt/http-base-url-update-upon-redirect' into maintJunio C Hamano1-0/+3
2017-03-16Merge branch 'jk/http-auth' into maintJunio C Hamano1-4/+46
2017-03-10Merge branch 'jt/http-base-url-update-upon-redirect'Junio C Hamano1-0/+3
2017-03-10Merge branch 'jk/http-auth'Junio C Hamano1-4/+46
2017-02-28http: attempt updating base URL only if no errorJonathan Tan1-0/+3
2017-02-27http: add an "auto" mode for http.emptyauthJeff King1-5/+45
2017-02-23http: restrict auth methods to what the server advertisesJeff King1-0/+2
2017-01-17Merge branch 'jk/http-walker-limit-redirect' into maintJunio C Hamano1-13/+43
2016-12-27Merge branch 'bw/transport-protocol-policy'Junio C Hamano1-14/+21
2016-12-19Merge branch 'jk/http-walker-limit-redirect'Junio C Hamano1-1/+1
2016-12-19Merge branch 'jk/http-walker-limit-redirect-2.9'Junio C Hamano1-12/+42
2016-12-15transport: add from_user parameter to is_transport_allowedBrandon Williams1-7/+7
2016-12-15http: create function to get curl allowed protocolsBrandon Williams1-11/+20
2016-12-15http: always warn if libcurl version is too oldBrandon Williams1-3/+2
2016-12-06http-walker: complain about non-404 loose object errorsJeff King1-1/+1
2016-12-06Merge branch 'ew/http-walker' into jk/http-walker-limit-redirectJunio C Hamano1-2/+14
2016-12-06http: treat http-alternates like redirectsJeff King1-0/+1
2016-12-06http: make redirects more obviousJeff King1-2/+29
2016-12-06http: always update the base URL for redirectsJeff King1-4/+8
2016-12-06http: simplify update_url_from_redirectJeff King1-6/+4
2016-10-17Merge branch 'dt/http-empty-auth'Junio C Hamano1-1/+1
2016-10-06Merge branch 'ps/http-gssapi-cred-delegation'Junio C Hamano1-0/+37
2016-10-04http: http.emptyauth should allow empty (not just NULL) usernamesDavid Turner1-1/+1
2016-09-29http: control GSSAPI credential delegationPetr Stodulka1-0/+37
2016-09-29Merge branch 'ew/http-do-not-forget-to-call-curl-multi-remove-handle' into maintJunio C Hamano1-11/+18
2016-09-29Merge branch 'jk/fix-remote-curl-url-wo-proto' into maintJunio C Hamano1-1/+1
2016-09-21Merge branch 'ew/http-do-not-forget-to-call-curl-multi-remove-handle'Junio C Hamano1-11/+18
2016-09-15Merge branch 'jk/fix-remote-curl-url-wo-proto'Junio C Hamano1-1/+1
2016-09-13http: always remove curl easy from curlm session on releaseEric Wong1-4/+6
2016-09-13http: consolidate #ifdefs for curl_multi_remove_handleEric Wong1-7/+10
2016-09-13http: warn on curl_multi_add_handle failuresEric Wong1-0/+2
2016-09-08remote-curl: handle URLs without protocolJeff King1-1/+1
2016-08-08Merge branch 'rs/use-strbuf-addstr'Junio C Hamano1-1/+1
2016-08-05use strbuf_addstr() instead of strbuf_addf() with "%s"René Scharfe1-1/+1
2016-08-03Merge branch 'ew/http-walker'Junio C Hamano1-2/+14
2016-07-12http: avoid disconnecting on 404s for loose objectsEric Wong1-2/+14
2016-07-06Merge branch 'ep/http-curl-trace'Junio C Hamano1-2/+122
2016-05-31Merge branch 'bn/http-cookiefile-config' into maintJunio C Hamano1-1/+1
2016-05-24http.c: implement the GIT_TRACE_CURL environment variableElia Pinto1-2/+122
2016-05-17Merge branch 'nd/error-errno'Junio C Hamano1-6/+4
2016-05-17Merge branch 'bn/http-cookiefile-config'Junio C Hamano1-1/+1
2016-05-09http.c: use error_errno() and warning_errno()Nguyễn Thái Ngọc Duy1-6/+4
2016-05-06Merge branch 'js/http-custom-headers'Junio C Hamano1-3/+32
2016-05-04http: expand http.cookieFile as a pathBrian Norris1-1/+1
2016-05-02Merge branch 'jc/http-socks5h' into maintJunio C Hamano1-1/+4
2016-04-27http: support sending custom HTTP headersJohannes Schindelin1-3/+32
2016-04-22Merge branch 'jc/http-socks5h'Junio C Hamano1-1/+4
2016-04-10http: differentiate socks5:// and socks5h://Junio C Hamano1-1/+4
2016-03-10Merge branch 'jx/http-no-proxy'Junio C Hamano1-0/+6
2016-02-29http: honor no_http env variable to bypass proxyJiang Xin1-0/+6
2016-02-24Merge branch 'ce/https-public-key-pinning'Junio C Hamano1-0/+16
2016-02-24Merge branch 'bc/http-empty-auth'Junio C Hamano1-2/+11
2016-02-24Merge branch 'ew/force-ipv4'Junio C Hamano1-0/+9
2016-02-15http: implement public key pinningChristoph Egger1-0/+15
2016-02-15http: add option to try authentication without usernamebrian m. carlson1-2/+11
2016-02-12connect & http: support -4 and -6 switches for remote operationsEric Wong1-0/+9
2016-01-26http: use credential API to handle proxy authenticationKnut Franke1-0/+77
2016-01-26http: allow selection of proxy authentication methodKnut Franke1-3/+62
2015-12-10Merge branch 'bc/object-id'Junio C Hamano1-1/+1
2015-12-01Merge branch 'dt/http-range'Jeff King1-4/+4
2015-12-01Merge branch 'maint'Jeff King1-2/+13
2015-12-01Merge branch 'cb/ssl-config-pathnames' into maintJeff King1-2/+2
2015-12-01Merge branch 'pt/http-socks-proxy' into maintJeff King1-0/+11
2015-11-24http: treat config options sslCAPath and sslCAInfo as pathsCharles Bailey1-2/+2
2015-11-20Convert struct ref to use object_id.brian m. carlson1-1/+1
2015-11-20remote-http(s): support SOCKS proxiesPat Thoyts1-0/+11
2015-11-11http: fix some printf format warningsRamsay Jones1-4/+4
2015-11-02http: use off_t to store partial file sizeJeff King1-4/+4
2015-11-02http.c: use CURLOPT_RANGE for range requestsDavid Turner1-21/+12
2015-10-20Merge branch 'jk/war-on-sprintf'Junio C Hamano1-6/+7
2015-09-28Sync with v2.5.4Junio C Hamano1-0/+18
2015-09-28Sync with 2.4.10Junio C Hamano1-0/+18
2015-09-28Sync with 2.3.10Junio C Hamano1-0/+18
2015-09-25http: limit redirection depthBlake Burkhart1-0/+1
2015-09-25http: limit redirection to protocol-whitelistBlake Burkhart1-0/+17
2015-09-25use strip_suffix and xstrfmt to replace suffixJeff King1-3/+4
2015-09-25convert trivial sprintf / strcpy calls to xsnprintfJeff King1-3/+3
2015-08-26Merge branch 'ep/http-configure-ssl-version'Junio C Hamano1-1/+32
2015-08-19Merge branch 'jc/finalize-temp-file'Junio C Hamano1-5/+5
2015-08-17http: add support for specifying the SSL versionElia Pinto1-1/+32
2015-08-10sha1_file.c: rename move_temp_to_file() to finalize_object_file()Junio C Hamano1-5/+5
2015-07-13Merge branch 'et/http-proxyauth'Junio C Hamano1-2/+2
2015-06-29http: always use any proxy auth method availableEnrique Tobis1-2/+2
2015-05-22Merge branch 'ls/http-ssl-cipher-list'Junio C Hamano1-0/+10
2015-05-08http: add support for specifying an SSL cipher listLars Kellogg-Stedman1-0/+10