Merge branch 'jk/http-backend-deadlock' into maint
commitb76b4cd4f1d822686374c5fdeb68ab0aac28bff1
authorJunio C Hamano <gitster@pobox.com>
Tue, 16 Jun 2015 21:33:45 +0000 (16 14:33 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 16 Jun 2015 21:33:45 +0000 (16 14:33 -0700)
tree5a5e36add241c19d0cb70eacac504efcc20d79a9
parent070d276cc15494184d2004d506e663f0cb791d44
parent636614f337409abccf60b00dddd04e6628bf85de
Merge branch 'jk/http-backend-deadlock' into maint

Communication between the HTTP server and http_backend process can
lead to a dead-lock when relaying a large ref negotiation request.
Diagnose the situation better, and mitigate it by reading such a
request first into core (to a reasonable limit).

* jk/http-backend-deadlock:
  http-backend: spool ref negotiation requests to buffer
  t5551: factor out tag creation
  http-backend: fix die recursion with custom handler
Documentation/git-http-backend.txt
t/t5551-http-fetch-smart.sh