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

Re: [PATCH 1/6] http: try http_proxy env var when http.proxy config option is not set

From
Daniel Stenberg <daniel@haxx.se>
Date
May 4, 2012, 07:27 UTC
Message-ID
<alpine.DEB.2.00.1205040921090.12158@tvnag.unkk.fr>
In-Reply-To
<20120504070802.GA21895@sigill.intra.peff.net>
On Fri, 4 May 2012, Jeff King wrote:
Show 5 quoted lines
> I don't see any way around it besides implementing curl's full tokenizing 
> and matching algorithm, which is about a page of code. I'd really prefer not 
> to re-implement bits of curl (especially because they may change later), but 
> AFAIK there is no way to ask curl "is there a proxy configured, and if so, 
> what is it?".

Sorry for being thick, but I lost track on this thread. Why does it need this info again?

Or perhaps put another way: if there was an ideal way to get this done or provide this to libcurl other than the current way, how would you suggest it would be done from a git internal point of view?

We're currently discussing new ways of providing authentication info in libcurl and I want to make sure I can get useful bits from this exercise into that talk to possibly offer something smoother in the future.

-- 
  / daniel.haxx.se
Previous: Jeff KingNext: Jeff King
Message 4 of 9 in “http: try http_proxy env var when http.proxy config option is not set”
  1. 1/6 http: try http_proxy env var when http.proxy config option is not setNelson Benitez Leon, May 3, 2012
  2. Junio C HamanoMay 3, 2012
  3. Jeff KingMay 4, 2012
  4. Daniel StenbergMay 4, 2012
  5. Jeff KingMay 4, 2012
  6. Daniel StenbergMay 4, 2012
  7. Junio C HamanoMay 4, 2012
  8. Jeff KingMay 4, 2012
  9. Junio C HamanoMay 4, 2012

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.