]> git.ipfire.org Git - thirdparty/curl.git/commit
HEAD: don't force-close after response-headers
authorDaniel Stenberg <daniel@haxx.se>
Wed, 11 Jul 2012 21:13:52 +0000 (23:13 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 11 Jul 2012 22:08:37 +0000 (00:08 +0200)
commit85ce195f75e16d59840e3de74bc5b2846630cabd
tree6e85f80ea9341f6c723f62d8d157ff7652eadb18
parent18f8b7eb72148cac9f318a111b4e655c213105da
HEAD: don't force-close after response-headers

A HEAD response has no body length and gets the headers like the
corresponding GET would so it should not get closed after the response
based on the same rules. This mistake caused connections that did HEAD
to get closed too often without a valid reason.

Bug: http://curl.haxx.se/bug/view.cgi?id=3542731
Reported by: Eelco Dolstra
lib/http.c