*cool* fix by Bjrn Stenberg, makes proxy transfers work better...! :-)

This commit is contained in:
Daniel Stenberg 2001-12-20 15:58:22 +00:00
parent 28027c2aa2
commit 8a9098a36c
1 changed files with 1 additions and 0 deletions

View File

@ -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 '*' */