From: Daniel Stenberg Date: Wed, 25 Feb 2009 08:24:23 GMT Subject: Re: git with https and client cert asks for password repeatedly Message-ID: In-Reply-To: On Tue, 24 Feb 2009, Mark Lodato wrote: > I think the root problem is that git creates a completely new http(s) > connection for every request, rather than using one persistent connection. > Using a persistent connection would theoretically speed up the transfers, in > addition to fixing the password prompt issue. I'm pretty sure that calling > `curl_easy_cleanup()' after every request is causing this behavior; I don't > think this is necessary. This may or may not be true depending on several circumstances. You didn't mention what libcurl version nor did you say if you build git to use the multi interface. But assuming that you don't use multi or that the libcurl is fairly old, your conclusion is correct. -- / daniel.haxx.se