Proxy authentication does not work if several types was set
Date: Mon, 18 Apr 2005 17:06:18 +0300
I am working with libcurl with multi stack.
I want libcurl sample with authentication method required from
proxy and then send appropriate one, but this does not work.
curl_easy_setopt(m_curlHandle, CURLOPT_PROXYAUTH, CURLAUTH_NTLM);
curl_easy_setopt(m_curlHandle, CURLOPT_PROXYAUTH, CURLAUTH_BASIC);
In this way it should sample proxy method and then use
appropriate one, but actually next scenario heppens:
- curl send request with Basic headers included
- proxy response with 407 and NTLM required in headers
- curl return 407 to client
It looks like a BUG !!!
Received on 2005-04-18