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

Re: [PATCH/RFC] http: pass http.cookiefile using CURLOPT_COOKIEFILE

From
Shawn Pearce <spearce@spearce.org>
Date
Jun 3, 2011, 00:01 UTC
Message-ID
<BANLkTi=3cQx9L4rrkniBhqFfL1TuNgu0doaSpdV8ajgsWJvw1Q@mail.gmail.com>
In-Reply-To
<20110602203125.0E04C734F12@antares.phy.syr.edu>
On Thu, Jun 2, 2011 at 13:31, Duncan Brown <dabrown@physics.syr.edu> wrote:
Show 5 quoted lines
> If the config option http.cookiefile is set, pass this file to libCURL using
> the CURLOPT_COOKIEFILE option. This is similar to calling curl with the -b
> option.  This allows git http authorization with authentication mechanisms
> that use cookies, such as SAML Enhanced Client or Proxy (ECP) used by
> Shibboleth.
Wow, the patch was this simple?
Thanks Duncan!
> ---
>  Documentation/config.txt |    8 ++++++++
>  http.c                   |    5 +++++
>  2 files changed, 13 insertions(+), 0 deletions(-)

Junio, I didn't test this myself, but the code looks good to me. I don't see any obvious issues with it.

-- 
Shawn.
Previous: Duncan BrownNext: Duncan Brown
Message 2 of 3 in “http: pass http.cookiefile using CURLOPT_COOKIEFILE”
  1. http: pass http.cookiefile using CURLOPT_COOKIEFILEDuncan Brown, Jun 2, 2011
  2. Shawn PearceJun 3, 2011
  3. Duncan BrownJun 3, 2011

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.