curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: NTLM and Squid Proxy Server

From: Isaac Boukris via curl-library <curl-library_at_cool.haxx.se>
Date: Mon, 14 Aug 2017 21:33:20 +0300

On Fri, Aug 11, 2017 at 12:21 PM, Hölzl, Dominik
<Dominik.Hoelzl_at_fabasoft.com> wrote:
> Hello!
>
> When I use cURL (Library from a C++-Program on Windows 10, cURL version
> 7.49.1) and connecting to an IIS Web Server using NTLM Authentication (with
> Username+Password, HTTP) over a Squid Proxy Server (3.5.20) and re-using the
> CURL-handle for a second request, the second request fails with
> CURLE_SEND_ERROR (55).

When using NTLM via proxy, the proxy should be aware of NTLM logic and
keep the up/down connections bound to each other. So I'd suggest to
debug the proxy.
Assuming the proxy supports NTLM, IIS may also need to be made aware
of that (by some header) otherwise it may require authentication again
for each request (if it sees 'via' header iirc), and maybe the proxy
interprets that as a failure.
See related: https://github.com/curl/curl/pull/363

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2017-08-14