mirror of
https://github.com/mirror/wget.git
synced 2024-12-28 22:00:27 +08:00
http: Always check for "Connection: close" presence
This commit is contained in:
parent
fb8f81040a
commit
ea97693b54
@ -1,3 +1,8 @@
|
||||
2014-11-01 Giuseppe Scrivano <gscrivan@redhat.com>
|
||||
|
||||
* http.c (gethttp): Do not check for "Connection: close" header
|
||||
only when the Content-Length is specified.
|
||||
|
||||
2014-10-31 Tim Ruehsen <tim.ruehsen@gmx.de>
|
||||
|
||||
* openssl.c: make _get_rfc2253_formatted() static
|
||||
|
@ -2287,7 +2287,7 @@ read_header:
|
||||
}
|
||||
|
||||
/* Check for keep-alive related responses. */
|
||||
if (!inhibit_keep_alive && contlen != -1)
|
||||
if (!inhibit_keep_alive)
|
||||
{
|
||||
if (resp_header_copy (resp, "Connection", hdrval, sizeof (hdrval)))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user