From ab18c0eaed13d2a0d60b8464f076622a2660d295 Mon Sep 17 00:00:00 2001 From: hniksic Date: Sat, 16 Apr 2005 06:06:29 -0700 Subject: [PATCH] [svn] Really disable persistent connections over proxy. --- src/ChangeLog | 5 +++++ src/http.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 310e9d94..b1f5e9ce 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2005-04-16 FUJISHIMA Satsuki + + * http.c (gethttp): Don't use HTTP/1.0 persistent connections over + proxy. + 2005-04-16 Hrvoje Niksic * snprintf.c: Use the PARAMS macro to handle prototypes. Write diff --git a/src/http.c b/src/http.c index fe5a5c06..fd7ff440 100644 --- a/src/http.c +++ b/src/http.c @@ -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;