git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Avery Pennarun <apenwarr@gmail.com>
To: "Peter Odéus" <peter.odeus@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: From 200 to 404 to 407.
Date: Tue, 27 Oct 2009 12:53:39 -0400	[thread overview]
Message-ID: <32541b130910270953w6bd35ddctd471e682830b8f62@mail.gmail.com> (raw)
In-Reply-To: <82fd2c5d0910270318wc30bc44tfd3362933d3f62cf@mail.gmail.com>

On Tue, Oct 27, 2009 at 6:18 AM, Peter Odéus <peter.odeus@gmail.com> wrote:
> Doing a "git clone..." using authenticated proxy (set in $http_proxy):
>
> Upon initial success (HTTP 200) and receiving a single HTTP 404 (not
> found), every GET after that renders a HTTP 407 (Proxy authentication
> required).
>
> curl -I "url_giving_http_407" comes out just fine as a HTTP 200.

The easiest way to track this down is to log it using ethereal, and
compare the http session dumps.  There may be differences in headers
or something that git is providing vs. the command-line curl.

If you don't know how to analyze http dumps, then just log them to a
file using tcpdump's -w option and email them to me, and I'll take a
look.  (I probably won't fix the bug in git, but I can at least tell
you what/if the bug is :))  Please don't send the binary dumpfiles to
the mailing list, though.

Have fun,

Avery

  reply	other threads:[~2009-10-27 16:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-27 10:18 From 200 to 404 to 407 Peter Odéus
2009-10-27 16:53 ` Avery Pennarun [this message]
2009-10-28 15:02   ` Peter
2009-10-28 15:35     ` Peter Odéus
     [not found]   ` <82fd2c5d0910280138r52baff98p3f4ff65e968b0d37@mail.gmail.com>
2009-10-28 15:50     ` Avery Pennarun
2009-10-28 16:10       ` Peter Odéus
2009-10-28 16:35         ` Avery Pennarun
2009-10-28 16:48         ` Avery Pennarun

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=32541b130910270953w6bd35ddctd471e682830b8f62@mail.gmail.com \
    --to=apenwarr@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=peter.odeus@gmail.com \
    /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).