mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
[svn] Really disable persistent connections over proxy.
This commit is contained in:
parent
f4348a022d
commit
ab18c0eaed
@ -1,3 +1,8 @@
|
||||
2005-04-16 FUJISHIMA Satsuki <sf@FreeBSD.org>
|
||||
|
||||
* http.c (gethttp): Don't use HTTP/1.0 persistent connections over
|
||||
proxy.
|
||||
|
||||
2005-04-16 Hrvoje Niksic <hniksic@xemacs.org>
|
||||
|
||||
* snprintf.c: Use the PARAMS macro to handle prototypes. Write
|
||||
|
@ -1126,7 +1126,7 @@ gethttp (struct url *u, struct http_stat *hs, int *dt, struct url *proxy)
|
||||
causing it to not close the connection and leave both the proxy
|
||||
and the client hanging. */
|
||||
int inhibit_keep_alive =
|
||||
!opt.http_keep_alive || opt.ignore_length /*|| proxy != NULL*/;
|
||||
!opt.http_keep_alive || opt.ignore_length || proxy != NULL;
|
||||
|
||||
/* Headers sent when using POST. */
|
||||
wgint post_data_size = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user