mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
Fix a problem with ISA server proxy
This commit is contained in:
parent
08cedb953b
commit
bb025955c3
2
NEWS
2
NEWS
@ -17,6 +17,8 @@ Please send GNU Wget bug reports to <bug-wget@gnu.org>.
|
|||||||
** Introduce --no-config.
|
** Introduce --no-config.
|
||||||
|
|
||||||
** Introduce --start-pos to allow starting downloads from a specified position.
|
** Introduce --start-pos to allow starting downloads from a specified position.
|
||||||
|
|
||||||
|
** Fix a problem with ISA Server Proxy and keep-alive connections.
|
||||||
|
|
||||||
* Changes in Wget 1.15
|
* Changes in Wget 1.15
|
||||||
|
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
2014-06-16 Giuseppe Scrivano <gscrivan@redhat.com>
|
||||||
|
|
||||||
|
* http.c (gethttp): Set "Connection: Keep-Alive" with keep-alive
|
||||||
|
connections when using a proxy too.
|
||||||
|
Reported by: Thorsten Schroeteler <Thorsten.Schroeteler@cassidian.com>.
|
||||||
|
|
||||||
2014-06-16 Darshit Shah <darnir@gmail.com>
|
2014-06-16 Darshit Shah <darnir@gmail.com>
|
||||||
|
|
||||||
* main.c (print_help, print_version): Mark as noreturn.
|
* main.c (print_help, print_version): Mark as noreturn.
|
||||||
|
10
src/http.c
10
src/http.c
@ -1846,13 +1846,9 @@ gethttp (struct url *u, struct http_stat *hs, int *dt, struct url *proxy,
|
|||||||
request_set_header (req, "Connection", "Close", rel_none);
|
request_set_header (req, "Connection", "Close", rel_none);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (proxy == NULL)
|
request_set_header (req, "Connection", "Keep-Alive", rel_none);
|
||||||
request_set_header (req, "Connection", "Keep-Alive", rel_none);
|
if (proxy)
|
||||||
else
|
request_set_header (req, "Proxy-Connection", "Keep-Alive", rel_none);
|
||||||
{
|
|
||||||
request_set_header (req, "Connection", "Close", rel_none);
|
|
||||||
request_set_header (req, "Proxy-Connection", "Keep-Alive", rel_none);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (opt.method)
|
if (opt.method)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user