mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04: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>
|
2014-10-31 Tim Ruehsen <tim.ruehsen@gmx.de>
|
||||||
|
|
||||||
* openssl.c: make _get_rfc2253_formatted() static
|
* openssl.c: make _get_rfc2253_formatted() static
|
||||||
|
@ -2287,7 +2287,7 @@ read_header:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Check for keep-alive related responses. */
|
/* 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)))
|
if (resp_header_copy (resp, "Connection", hdrval, sizeof (hdrval)))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user