Merge branch 'dt/smart-http-detect-server-going-away' into next
authorJunio C Hamano <gitster@pobox.com>
Mon, 5 Dec 2016 19:38:03 +0000 (11:38 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 5 Dec 2016 19:38:03 +0000 (11:38 -0800)
commit3ea70d01afc6305b88d33b8585f1fc41c486a182
treece5e7f5064e385383faaf0f208d93a4ebca68a63
parentc9d729fca2ad1c329f98f88cea0e83063626ae52
parentf8edeaa05d8623a9f6dad408237496c51101aad8
Merge branch 'dt/smart-http-detect-server-going-away' into next

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