cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Bug with cleaning up connection cache

From: Paras S <livetestid_at_live.in>
Date: Fri, 22 Aug 2014 16:24:04 +0530

>> Attached code reproduces the issue, at least part of it.
> Thanks! Am I thinking right that I should replace that URL with one of my own
that provides NTLM auth? The thing is, I don't really have any...

Yes, the server requires NTLM auth.

> Anyway, I believe the correct fix for this problem should be something like in
the patch I attach here. It moves the resetting of the easy handle state for
auth to the point where it really should reset it: when a fresh connection is
used.
> Can you give it a shot and see how it behaves for your test case?

The test succeeds, but I am seeing a possible error.
The "If NTLM is requested in a ..." part of the code is in the else condition,
when we are going to create a new connection (reuse is false), where picked
and done will already be 0.

I am not sure if this is because I used the patch on 7.37.1

--
Paras
 		 	   		  

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-08-22