1
0
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:
hniksic 2005-04-16 06:06:29 -07:00
parent f4348a022d
commit ab18c0eaed
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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;