Re: HTTP push not respecting .netrc
- From
- David Borowitz <dave@bwitz.com>
- Date
- Jan 27, 2011, 02:47 UTC
- Message-ID
- <AANLkTi=k5m+90wZPLMjah3cnL=4PjF5Skp2zkaTXyD09@mail.gmail.com>
- In-Reply-To
- <AANLkTi=cqsvXb3eywTfxAg9hH9cigumSQjoHqq5bnJfM@mail.gmail.com>
On Wed, Jan 26, 2011 at 18:00, David Borowitz <dave@bwitz.com> wrote:
> But this raises further questions: > -Why does git/curl decide it's ok to retry with authentication in one > case, but not in the other?
Poking further, it looks like curl is deciding not to retry because the ioctl callback is failing to rewind the post buffer when clearly it should be able to. So it's more likely a git bug than a curl issue (the following question notwithstanding).
> -Why does curl send the auth header before ever receiving a 401, while > git does not? (Would fixing this be as easy as setting another curl > option?)