1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

prevent an initial "(nil)" to get sent in the initial request when doing

CONNECT to a proxy with digest
This commit is contained in:
Daniel Stenberg 2004-12-02 17:08:37 +00:00
parent e587a56fc0
commit 15360e5e51

View File

@ -1068,7 +1068,7 @@ CURLcode Curl_ConnectHTTPProxyTunnel(struct connectdata *conn,
"%s"
"\r\n",
hostname, remote_port,
conn->bits.proxy_user_passwd?
conn->allocptr.proxyuserpwd?
conn->allocptr.proxyuserpwd:"",
data->set.useragent?conn->allocptr.uagent:""
);