git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [BUG?] git http connection reuse

From
Daniel Stenberg <daniel@haxx.se>
Date
Feb 16, 2014, 13:33 UTC
Message-ID
<alpine.DEB.2.00.1402161431230.10435@tvnag.unkk.fr>
In-Reply-To
<alpine.DEB.2.00.1402161307160.10435@tvnag.unkk.fr>
On Sun, 16 Feb 2014, Daniel Stenberg wrote:
Show 7 quoted lines
> Right, the problem is there to make sure that a NTLM-auth connection with 
> different credentials aren't re-used. NTLM with its connection-oriented 
> authentication breaks the traditional HTTP paradigms and before this change 
> there was a risk that libcurl would wrongly re-use a NTLM connection that 
> was done with different credentials!
>
> I suspect we introduced a regression here with that fix. I'll dig into this.
Thanks for pointing this out!

I could repeat this problem with a curl test case so I wrote up two, and then I made a fix to curl:

   https://github.com/bagder/curl/commit/d765099813f5
-- 
  / daniel.haxx.se
Previous: Daniel StenbergNext: Jeff King
Message 4 of 11 in “[BUG?] git http connection reuse”
  1. Jeff KingFeb 16, 2014
  2. Kyle J. McKayFeb 16, 2014
  3. Daniel StenbergFeb 16, 2014
  4. Daniel StenbergFeb 16, 2014
  5. Jeff KingFeb 17, 2014
  6. Jeff KingFeb 17, 2014
  7. Daniel StenbergFeb 18, 2014
  8. Jeff KingFeb 18, 2014
  9. Daniel StenbergFeb 18, 2014
  10. Daniel StenbergFeb 18, 2014
  11. http: never use curl_easy_performJeff King, Feb 18, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.