Merge branch 'dt/smart-http-detect-server-going-away'
commitd984592043aec3c9f5b1955560a133896ca115b5
authorJunio C Hamano <gitster@pobox.com>
Tue, 10 Jan 2017 23:24:25 +0000 (10 15:24 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 10 Jan 2017 23:24:25 +0000 (10 15:24 -0800)
tree7bae1e3caccc682524e72de81e760fc3b031dbef
parent979b82f19f3c44d34779c46c636aade514a711a9
parentf8edeaa05d8623a9f6dad408237496c51101aad8
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
Documentation/config.txt
remote-curl.c
t/t5551-http-fetch-smart.sh