cURL / Mailing Lists / curl-library / Single Mail


Re: HTTP NTLM user authentication

From: Václav Zeman <>
Date: Tue, 17 Sep 2013 09:30:27 +0200

On 15 September 2013 19:31, Daniel Stenberg <> wrote:
> On Sat, 14 Sep 2013, Václav Zeman wrote:
>> We are trying to use libcurl to do POST requests with SOAP payload. We are
>> using libcurl 7.18.0 and we have tested the same code against IIS server
>> with Basic authentication enabled. Now we have turned on NTLM as well and we
>> are seeing that our client is not able to authenticate. I am attaching
>> (anonymized) log file of one session that shows how it cycles the requests
>> and dies after 16 attempts (limit set up by our code).
>> I would like to know if this is a know bug in older libcurl or if this can
>> be caused by our code and the way we set up libcurl?
> I don't know. Try the latest libcurl version and see if the problem is still
> there. If it is, show us some code on how to repeat the problem and we can
> tell if the code looks correct or not.

Just FYI, the problem was with "Connection: close" that was added by
gSOAP. (We use libcurl as back-end for gSOAP).

List admin:
Received on 2013-09-17