diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-01-11 02:24:25 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-01-11 02:24:25 +0300 |
commit | d984592043aec3c9f5b1955560a133896ca115b5 (patch) | |
tree | 7bae1e3caccc682524e72de81e760fc3b031dbef /Documentation/config.txt | |
parent | 979b82f19f3c44d34779c46c636aade514a711a9 (diff) | |
parent | f8edeaa05d8623a9f6dad408237496c51101aad8 (diff) |
Merge branch 'dt/smart-http-detect-server-going-away'
When the http server gives an incomplete response to a smart-http
rpc call, it could lead to client waiting for a full response that
will never come. Teach the client side to notice this condition
and abort the transfer.
An improvement counterproposal has failed.
cf. <20161114194049.mktpsvgdhex2f4zv@sigill.intra.peff.net>
* dt/smart-http-detect-server-going-away:
upload-pack: optionally allow fetching any sha1
remote-curl: don't hang when a server dies before any output
Diffstat (limited to 'Documentation/config.txt')
-rw-r--r-- | Documentation/config.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt index 4a991f3582..1abf078c4e 100644 --- a/Documentation/config.txt +++ b/Documentation/config.txt @@ -3030,6 +3030,11 @@ uploadpack.allowReachableSHA1InWant:: section of the linkgit:gitnamespaces[7] man page; it's best to keep private data in a separate repository. +uploadpack.allowAnySHA1InWant:: + Allow `upload-pack` to accept a fetch request that asks for any + object at all. + Defaults to `false`. + uploadpack.keepAlive:: When `upload-pack` has started `pack-objects`, there may be a quiet period while `pack-objects` prepares the pack. Normally |