*cool* fix by Björn Stenberg, makes proxy transfers work better...! :-)
authorDaniel Stenberg <daniel@haxx.se>
Thu, 20 Dec 2001 15:58:22 +0000 (15:58 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 20 Dec 2001 15:58:22 +0000 (15:58 +0000)
lib/url.c

index 808f9c0..79e6ced 100644 (file)
--- a/lib/url.c
+++ b/lib/url.c
@@ -1566,6 +1566,7 @@ static CURLcode CreateConnection(struct SessionHandle *data,
           /* we have a proxy here to set */
           data->change.proxy = proxy;
           data->change.proxy_alloc=TRUE; /* this needs to be freed later */
+          conn->bits.httpproxy = TRUE;
         }
       } /* if (!nope) - it wasn't specified non-proxy */
     } /* NO_PROXY wasn't specified or '*' */