aboutsummaryrefslogtreecommitdiffstats
path: root/remote-curl.c
AgeCommit message (Expand)AuthorFilesLines
2019-06-03i18n: fix typos found during l10n for git 2.22.0Jiang Xin1-2/+2
2019-04-25Merge branch 'bc/hash-transition-16'Junio C Hamano1-5/+6
2019-04-16Merge branch 'js/remote-curl-i18n'Junio C Hamano1-25/+25
2019-04-16Merge branch 'js/anonymize-remote-curl-diag'Junio C Hamano1-6/+13
2019-04-01remote-curl: make hash size independentbrian m. carlson1-5/+6
2019-03-07Merge branch 'jt/http-auth-proto-v2-fix'Junio C Hamano1-205/+179
2019-03-06remote-curl: mark all error messages for translationJohannes Schindelin1-25/+25
2019-03-05curl: anonymize URLs in error messages and warningsJohannes Schindelin1-6/+13
2019-03-03remote-curl: use post_rpc() for protocol v2 alsoJonathan Tan1-184/+149
2019-02-22trace2: create new combined trace facilityJeff Hostetler1-0/+7
2019-02-22remote-curl: refactor reading into rpc_state's bufJonathan Tan1-9/+24
2019-02-14remote-curl: reduce scope of rpc_state.resultJonathan Tan1-12/+13
2019-02-14remote-curl: reduce scope of rpc_state.stdin_preambleJonathan Tan1-9/+4
2019-02-14remote-curl: reduce scope of rpc_state.argvJonathan Tan1-7/+5
2019-02-06remote-curl: tighten "version 2" check for smart-httpJeff King1-1/+1
2019-02-06remote-curl: refactor smart-http discoveryJeff King1-43/+57
2019-02-05Merge branch 'jt/fetch-v2-sideband'Junio C Hamano1-9/+20
2019-01-29Merge branch 'ms/http-no-more-failonerror'Junio C Hamano1-5/+24
2019-01-10remote-curl: unset CURLOPT_FAILONERRORMasaya Suzuki1-0/+10
2019-01-10remote-curl: define struct for CURLOPT_WRITEFUNCTIONMasaya Suzuki1-4/+14
2019-01-10http: enable keep_error for HTTP requestsMasaya Suzuki1-1/+0
2019-01-02pack-protocol.txt: accept error packets in any contextMasaya Suzuki1-3/+6
2019-01-02Use packet_reader instead of packet_read_lineMasaya Suzuki1-7/+15
2018-12-10style: the opening '{' of a function is in a separate lineNguyễn Thái Ngọc Duy1-1/+2
2018-11-21Merge branch 'en/double-semicolon-fix' into maintJunio C Hamano1-1/+1
2018-11-12remote-curl.c: xcurl_off_t is not portable (on 32 bit platfoms)Torsten Bögershausen1-3/+4
2018-09-24Merge branch 'en/double-semicolon-fix'Junio C Hamano1-1/+1
2018-09-05Remove superfluous trailing semicolonsElijah Newren1-1/+1
2018-08-20Merge branch 'js/typofixes'Junio C Hamano1-1/+1
2018-08-08remote-curl: remove spurious periodJohannes Schindelin1-1/+1
2018-05-23remote-curl: accept compressed responses with protocol v2Brandon Williams1-0/+1
2018-05-23remote-curl: accept all encodings supported by curlBrandon Williams1-1/+1
2018-05-08Merge branch 'ma/http-walker-no-partial'Junio C Hamano1-3/+0
2018-05-08Merge branch 'bw/protocol-v2'Junio C Hamano1-4/+276
2018-04-24walker: drop fields of `struct walker` which are always 1Martin Ågren1-3/+0
2018-04-11exec_cmd: rename to use dash in file nameStefan Beller1-1/+1
2018-03-15remote-curl: don't request v2 when pushingBrandon Williams1-1/+10
2018-03-15remote-curl: implement stateless-connect commandBrandon Williams1-1/+206
2018-03-15http: eliminate "# service" line when using protocol v2Brandon Williams1-0/+3
2018-03-15http: don't always add Git-Protocol headerBrandon Williams1-0/+33
2018-03-15remote-curl: store the protocol version the server responded withBrandon Williams1-1/+3
2018-03-15remote-curl: create copy of the service nameBrandon Williams1-2/+3
2018-03-14protocol: introduce enum protocol_version value protocol_v2Brandon Williams1-0/+3
2018-03-14connect: discover protocol version outside of get_remote_headsBrandon Williams1-2/+18
2018-02-28Merge branch 'jk/push-options-via-transport-fix'Junio C Hamano1-1/+10
2018-02-27Merge branch 'js/packet-read-line-check-null'Junio C Hamano1-0/+2
2018-02-20remote-curl: unquote incoming push-optionsJeff King1-1/+10
2018-02-08always check for NULL return from packet_read_line()Jon Simons1-0/+2
2017-12-08fetch: support filtersJeff Hostetler1-0/+6
2017-12-05introduce fetch-object: fetch one promisor objectJonathan Tan1-1/+13
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-3/+9
2017-04-19Merge branch 'bc/object-id'Junio C Hamano1-2/+2
2017-04-13http.postbuffer: allow full range of ssize_t valuesDavid Turner1-3/+9
2017-03-31Rename sha1_array to oid_arraybrian m. carlson1-1/+1
2017-03-28sha1-array: convert internal storage for struct sha1_array to object_idbrian m. carlson1-1/+1
2017-03-22remote-curl: allow push optionsBrandon Williams1-0/+8
2017-01-10Merge branch 'dt/smart-http-detect-server-going-away'Junio C Hamano1-0/+8
2016-12-19Merge branch 'jk/http-walker-limit-redirect-2.9'Junio C Hamano1-9/+13
2016-12-06http: make redirects more obviousJeff King1-0/+4
2016-12-06remote-curl: rename shadowed options variableJeff King1-9/+9
2016-11-18remote-curl: don't hang when a server dies before any outputDavid Turner1-0/+8
2016-10-10Merge branch 'nd/shallow-deepen'Junio C Hamano1-31/+49
2016-07-06Merge branch 'jk/common-main-2.8' into jk/common-mainJunio C Hamano1-4/+1
2016-07-01common-main: call git_setup_gettext()Jeff King1-2/+0
2016-07-01common-main: call git_extract_argv0_path()Jeff King1-1/+0
2016-07-01add an extra level of indirection to main()Jeff King1-1/+1
2016-06-13fetch, upload-pack: --deepen=N extends shallow boundary by N commitsNguyễn Thái Ngọc Duy1-1/+13
2016-06-13fetch: define shallow boundary with --shallow-excludeNguyễn Thái Ngọc Duy1-0/+9
2016-06-13fetch: define shallow boundary with --shallow-sinceNguyễn Thái Ngọc Duy1-2/+9
2016-06-13remote-curl.c: convert fetch_git() to use argv_arrayNguyễn Thái Ngọc Duy1-28/+18
2016-04-27http: support sending custom HTTP headersJohannes Schindelin1-2/+2
2016-02-26Merge branch 'jk/tighten-alloc'Junio C Hamano1-13/+13
2016-02-24Merge branch 'sp/remote-curl-ssl-strerror'Junio C Hamano1-2/+14
2016-02-24Merge branch 'ew/force-ipv4'Junio C Hamano1-0/+13
2016-02-22convert trivial cases to ALLOC_ARRAYJeff King1-1/+2
2016-02-22convert manual allocations to argv_arrayJeff King1-12/+11
2016-02-15remote-curl: include curl_errorstr on SSL setup failuresShawn Pearce1-2/+14
2016-02-12connect & http: support -4 and -6 switches for remote operationsEric Wong1-0/+13
2016-01-15strbuf: introduce strbuf_getline_{lf,nul}()Junio C Hamano1-3/+3
2015-11-20parse_fetch: convert to use struct object_idbrian m. carlson1-6/+6
2015-11-20Convert struct ref to use object_id.brian m. carlson1-5/+5
2015-10-05use alloc_ref rather than hand-allocating "struct ref"Jeff King1-4/+1
2015-08-19push: support signing pushes iff the server supports itDave Borowitz1-5/+11
2015-03-17Merge branch 'rs/deflate-init-cleanup'Junio C Hamano1-1/+0
2015-03-05zlib: initialize git_zstream in git_deflate_init{,_gzip,_raw}René Scharfe1-1/+0
2015-02-18Merge branch 'ye/http-accept-language'Junio C Hamano1-0/+2
2015-02-17Merge branch 'jk/remote-curl-an-array-in-struct-cannot-be-null'Junio C Hamano1-1/+1
2015-01-28do not check truth value of flex arraysJeff King1-1/+1
2015-01-28http: add Accept-Language header if possibleYi EungJun1-0/+2
2014-10-08Merge branch 'jc/push-cert'Junio C Hamano1-1/+12
2014-09-19Merge branch 'da/styles'Junio C Hamano1-1/+1
2014-09-19Merge branch 'jk/send-pack-many-refspecs'Junio C Hamano1-1/+7
2014-09-17signed push: teach smart-HTTP to pass "git push --signed" aroundJunio C Hamano1-1/+12
2014-09-02stylefix: asterisks stick to the variable, not the typeDavid Aguilar1-1/+1
2014-08-26send-pack: take refspecs over stdinJeff King1-1/+7
2014-08-20run-command: introduce CHILD_PROCESS_INITRené Scharfe1-2/+1
2014-07-21Merge branch 'jk/remote-curl-squelch-extra-errors'Junio C Hamano1-8/+6
2014-07-10remote-curl: mark helper-protocol errors more clearlyJeff King1-4/+4
2014-07-10remote-curl: use error instead of fprintf(stderr)Jeff King1-5/+5
2014-07-10remote-curl: do not complain on EOF from parent gitJeff King1-2/+0
2014-06-20use skip_prefix to avoid repeating stringsJeff King1-7/+8
2014-05-27remote-curl: reencode http error messagesJeff King1-7/+10
2014-05-27http: extract type/subtype portion of content-typeJeff King1-1/+1
2014-02-18http: never use curl_easy_performJeff King1-4/+1
2014-01-17Merge branch 'nd/shallow-clone'Junio C Hamano1-5/+30
2013-12-17Merge branch 'cc/starts-n-ends-with'Junio C Hamano1-7/+7
2013-12-10smart-http: support shallow fetch/cloneNguyễn Thái Ngọc Duy1-4/+28
2013-12-10remote-curl: pass ref SHA-1 to fetch-pack as wellNguyễn Thái Ngọc Duy1-1/+2
2013-12-10connect.c: teach get_remote_heads to parse "shallow" linesNguyễn Thái Ngọc Duy1-1/+1
2013-12-05replace {pre,suf}fixcmp() with {starts,ends}_with()Christian Couder1-7/+7
2013-12-05Merge branch 'bc/http-100-continue'Junio C Hamano1-10/+21
2013-10-31remote-curl: fix large pushes with GSSAPIBrian M. Carlson1-2/+9
2013-10-31remote-curl: pass curl slot_results back through run_slotJeff King1-9/+13
2013-10-30Merge branch 'jk/http-auth-redirects'Junio C Hamano1-28/+41
2013-10-14remote-curl: rewrite base url from info/refs redirectsJeff King1-0/+4
2013-10-14remote-curl: store url as a strbufJeff King1-19/+19
2013-10-14remote-curl: make refs_url a strbufJeff King1-8/+7
2013-10-14http: hoist credential request out of handle_curl_resultJeff King1-1/+6
2013-09-30http: refactor options to http_get_*Jeff King1-2/+7
2013-09-09Merge branch 'jc/push-cas'Junio C Hamano1-0/+12
2013-09-09Merge branch 'nd/clone-connectivity-shortcut'Junio C Hamano1-1/+14
2013-08-02push: teach --force-with-lease to smart-http transportJunio C Hamano1-1/+15
2013-07-23smart http: use the same connectivity check on cloningNguyễn Thái Ngọc Duy1-1/+14
2013-07-09remote-http: use argv-arrayJunio C Hamano1-16/+16
2013-04-06remote-curl: die directly with http error messagesJeff King1-2/+1
2013-04-06http: simplify http_error helper functionJeff King1-1/+1
2013-04-06remote-curl: consistently report repo url for http errorsJeff King1-2/+2
2013-04-06remote-curl: always show friendlier 404 messageJeff King1-4/+2
2013-04-06remote-curl: let servers override http 404 adviceJeff King1-1/+2
2013-04-06remote-curl: show server content on http errorsJeff King1-1/+32
2013-02-24remote-curl: always parse incoming refsJeff King1-9/+13
2013-02-24remote-curl: move ref-parsing code up in fileJeff King1-59/+59
2013-02-24remote-curl: pass buffer straight to get_remote_headsJeff King1-24/+2
2013-02-24teach get_remote_heads to read from a memory bufferJeff King1-1/+1
2013-02-24pkt-line: share buffer/descriptor reading implementationJeff King1-12/+10
2013-02-20pkt-line: teach packet_read_line to chomp newlinesJeff King1-3/+3
2013-02-20pkt-line: drop safe_write functionJeff King1-2/+2
2013-02-04Verify Content-Type from smart HTTP serversShawn Pearce1-5/+12
2012-11-21Merge branch 'jk/maint-http-half-auth-fetch'Junio C Hamano1-1/+1
2012-11-21remote-curl.c: Fix a compiler warningRamsay Jones1-1/+1
2012-11-20Merge branch 'jk/maint-http-half-auth-fetch'Junio C Hamano1-8/+17
2012-10-31remote-curl: retry failed requests for auth even with gzipJeff King1-1/+10
2012-10-31remote-curl: hoist gzip buffer size to top of post_rpcJeff King1-7/+7
2012-10-29Merge branch 'jk/maint-http-init-not-in-result-handler'Jeff King1-8/+9
2012-10-16Merge branch 'jk/maint-http-half-auth-push'Junio C Hamano1-1/+1
2012-10-12http: do not set up curl auth after a 401Jeff King1-1/+1
2012-10-12remote-curl: do not call run_slot repeatedlyJeff King1-7/+8
2012-10-12http: fix segfault in handle_curl_resultJeff King1-1/+1
2012-09-29Merge branch 'jk/smart-http-switch'Junio C Hamano1-4/+5
2012-09-29Merge branch 'sp/maint-http-enable-gzip'Junio C Hamano1-2/+2
2012-09-21remote-curl: let users turn off smart httpJeff King1-1/+2
2012-09-20remote-curl: rename is_http variableJeff King1-3/+3
2012-09-20Enable info/refs gzip decompression in HTTP clientShawn O. Pearce1-2/+2
2012-09-20Revert "retry request without query when info/refs?query fails"Shawn O. Pearce1-16/+2
2012-08-27http: prompt for credentials on failed POSTJeff King1-8/+15
2012-05-10Merge branch 'jk/maint-push-progress' into maintJunio C Hamano1-0/+1
2012-05-01Merge branch 'it/fetch-pack-many-refs' into maintJunio C Hamano1-5/+13
2012-05-01teach send-pack about --[no-]progressJeff King1-0/+1
2012-04-10remote-curl: send the refs to fetch-pack on stdinIvan Todoroski1-5/+13
2012-02-05Merge branch 'sp/smart-http-failure-to-push' into maintJunio C Hamano1-4/+5
2012-01-29Merge branch 'sp/smart-http-failure-to-push'Junio C Hamano1-4/+5
2012-01-20remote-curl: Fix push status report when all branches failShawn O. Pearce1-4/+5
2012-01-08fix push --quiet: add 'quiet' capability to receive-packClemens Buchacher1-1/+3
2011-12-22Merge branch 'jk/http-push-to-empty'Junio C Hamano1-3/+4
2011-12-19Merge branch 'jk/maint-push-over-dav'Junio C Hamano1-1/+1
2011-12-19remote-curl: don't pass back fake refsJeff King1-3/+4
2011-12-13http-push: enable "proactive auth"Jeff King1-1/+1
2011-12-13drop "match" parameter from get_remote_headsJeff King1-1/+1
2011-10-17Merge branch 'jk/http-auth'Junio C Hamano1-2/+2
2011-10-15http_init: accept separate URL parameterJeff King1-1/+1
2011-10-12Merge branch 'sp/smart-http-failure'Junio C Hamano1-1/+8
2011-10-04remote-curl: Fix warning after HTTP failureShawn O. Pearce1-1/+8
2011-09-06Sync with 1.7.6.2Junio C Hamano1-3/+1
2011-09-06Revert "Merge branch 'cb/maint-quiet-push' into maint"Junio C Hamano1-3/+1
2011-08-23Merge branch 'cb/maint-quiet-push' into maintJunio C Hamano1-1/+3
2011-08-17Merge branch 'cb/maint-quiet-push'Junio C Hamano1-1/+3
2011-08-16Merge branch 'jc/zlib-wrap' into maintJunio C Hamano1-9/+5
2011-08-01Merge branch 'sr/transport-helper-fix'Junio C Hamano1-1/+9
2011-07-31propagate --quiet to send-pack/receive-packClemens Buchacher1-1/+3
2011-07-22Merge branch 'maint'Junio C Hamano1-0/+2
2011-07-20remote-curl: Add a format check to parsing of info/refsJulian Phillips1-0/+2
2011-07-20remote-curl: don't retry auth failures with dumb protocolJeff King1-1/+1
2011-07-19remote-curl: accept empty line as terminatorSverre Rabbelier1-1/+9
2011-07-19Merge branch 'jc/zlib-wrap'Junio C Hamano1-9/+5
2011-06-20plug a few coverity-spotted leaksJim Meyering1-4/+6
2011-06-10zlib: zlib can only process 4GB at a timeJunio C Hamano1-1/+1
2011-06-10zlib: wrap deflateBound() tooJunio C Hamano1-1/+1
2011-06-10zlib: wrap deflate side of the APIJunio C Hamano1-7/+3
2011-05-04http: make curl callbacks match contracts from curl headerDan McGee1-1/+1
2011-03-14Merge branch 'sp/maint-smart-http-sans-100-continue'Junio C Hamano1-1/+1
2011-03-14smart-http: Really never use Expect: 100-continueShawn O. Pearce1-1/+1
2011-02-27Merge branch 'sp/maint-smart-http-sans-100-continue'Junio C Hamano1-11/+55
2011-02-15smart-http: Don't use Expect: 100-ContinueShawn O. Pearce1-11/+55
2010-08-12Merge branch 'sp/fix-smart-http-deadlock-on-error'Junio C Hamano1-2/+3
2010-08-06smart-http: Don't deadlock on server failureShawn O. Pearce1-2/+3
2010-05-08Merge branch 'rc/maint-curl-helper'Junio C Hamano1-6/+8
2010-04-09remote-curl: ensure that URLs have a trailing slashTay Ray Chuan1-6/+8
2010-04-01Prompt for a username when an HTTP request 401sScott Chacon1-0/+2
2010-03-15Merge branch 'tc/http-cleanup'Junio C Hamano1-12/+9