cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: NTLM descriptor leak

From: Yang Tse <yangsita_at_gmail.com>
Date: Sun, 4 Sep 2011 02:12:14 +0200

2011/9/2 Dan Fandrich wrote:

> It looks to me like either an NTLMSTATE_INIT state is needed to allow cleanup
> to proceed, or Curl_http_ntlm_cleanup should be called unconditionally on
> disconnect.

Calling Curl_ntlm_wb_cleanup() in conn_free() fixes the issue for me
here. It should also be ok for multi interface, unless a multi NTLM
winbind test case proves the contrary. Commit bdc311cf pushed.

-- 
-=[Yang]=-
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-09-04