git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: Jeff King <peff@peff.net>
Cc: Nelson Benitez Leon <nelsonjesus.benitez@seap.minhap.es>,
	git@vger.kernel.org, sam@vilain.net, spearce@spearce.org
Subject: Re: [PATCH v5 2/5] http: handle proxy proactive authentication
Date: Fri, 13 Apr 2012 12:35:17 -0700	[thread overview]
Message-ID: <7viph32znu.fsf@alter.siamese.dyndns.org> (raw)
In-Reply-To: <20120412224230.GA22988@sigill.intra.peff.net> (Jeff King's message of "Thu, 12 Apr 2012 18:42:30 -0400")

Jeff King <peff@peff.net> writes:

> But you snipped the later part of my message, which is that the "http"
> in "http_proxy" does _not_ matter. It is about which destinations to
> apply the proxy to, not how you talk to the proxy (and the latter is what
> should matter for the credentials).

Oh, yes, I am in violent agreement. The language the http clients
(browsers etc) talk to the proxy may be part of HTTP specification, but it
is definitely different from the "http" talked with the origin servers.

>> > Not splitting "http" and "http-proxy" does have a slight confusion,...
>> 
>> Ok, so how about this as a replacement patch for what I have had for the
>> past few days?
>
> My other message argued "the http-proxy distinction might be important,
> but probably isn't". But I didn't talk about "the http-proxy distinction
> might break helpers". The stock helpers will be fine; they are totally
> clueless about what the protocol means, and just treat it as a string to
> be matched. But for something like osxkeychain, where it is converting
> the protocol string into some OS-specific magic value, it does matter,
> and http-proxy would cause it to exit in confusion.
>
> It looks like OS X defines a SOCKS type and an HTTPProxy type for its
> keychain API. So in either case, it should probably be updated to handle
> these new types. And I guess that argues for making the distinction,
> since at least one helper does want to care about it.

OK.  Sounds like we are in agreement.

Nelson, care to re-roll the series, with fixes discussed in this thread
rolled into the second patch?

  reply	other threads:[~2012-04-13 19:35 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-13 14:03 [PATCH v5 2/5] http: handle proxy proactive authentication Nelson Benitez Leon
2012-04-09 21:39 ` Junio C Hamano
2012-04-10  0:59   ` Junio C Hamano
2012-04-12 15:54     ` Junio C Hamano
2012-04-12 20:58       ` Jeff King
2012-04-12 21:25         ` Junio C Hamano
2012-04-12 22:05           ` Jeff King
2012-04-12 22:18             ` Junio C Hamano
2012-04-12 22:42               ` Jeff King
2012-04-13 19:35                 ` Junio C Hamano [this message]
2012-04-13 20:23                   ` Jeff King
2012-04-13 20:56 ` Jeff King
2012-04-19 17:09   ` Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7viph32znu.fsf@alter.siamese.dyndns.org \
    --to=gitster@pobox.com \
    --cc=git@vger.kernel.org \
    --cc=nelsonjesus.benitez@seap.minhap.es \
    --cc=peff@peff.net \
    --cc=sam@vilain.net \
    --cc=spearce@spearce.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).