]> sjero.net Git - wget/blobdiff - src/http.c
[svn] Really disable persistent connections over proxy.
[wget] / src / http.c
index fe5a5c06b4673a37561d11032d715abc28218317..fd7ff440193c00dd7648b04e8643212b7584f90e 100644 (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;