From: Junio C Hamano Date: Fri, 08 Feb 2008 21:46:14 GMT Subject: Re: [PATCH] Work around curl-gnutls not liking to be reinitialized Message-ID: <7vlk5vi0k9.fsf@gitster.siamese.dyndns.org> In-Reply-To: <20080208213148.GA2823@glandium.org> Mike Hommey writes: >> In the end, it was a bit of git's fault, but either curl or gnutls is the >> actual culprit. I've not looked into either code to find out who's >> responsible, but a very simplified testcase is as follows: >> ... > > And the winner is... curl ! > The bug was introduced in this commit: > http://cool.haxx.se/cvs.cgi/curl/lib/gtls.c.diff?r1=1.26&r2=1.27 > Note how gtls_inited is not set back to FALSE in cleanup. > > This ended up released in 7.16.3. I'm filing a bug. Good detetive work. Thanks. I guess we need to ship with a known leak to work this around. Sigh... Perhaps we can convince cURL developers to switch to git while we are at it? ;-)