]> git.ipfire.org Git - thirdparty/git.git/commit
http: avoid disconnecting on 404s for loose objects
authorEric Wong <e@80x24.org>
Mon, 11 Jul 2016 20:51:30 +0000 (20:51 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 12 Jul 2016 22:17:42 +0000 (15:17 -0700)
commit17966c0a63d25b1cc2dd1e98d30873e643bd581f
tree865db4ee901c1aef4befa2860e20173475006829
parent43b8bba6b60aa644456d7682b99357dd4778e8d6
http: avoid disconnecting on 404s for loose objects

404s are common when fetching loose objects on static HTTP
servers, and reestablishing a connection for every single
404 adds additional latency.

Signed-off-by: Eric Wong <e@80x24.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
http-walker.c
http.c