[PATCH] send http auth information pre-emptively to reduce roundtrips
Marti Raudsepp
marti at juffo.org
Mon Apr 6 09:13:30 CDT 2009
On 4/5/09, Sune Foldager <cryo at cyanite.org> wrote:
> challenge. The RFC specifically allows this, and it seems silly to not
> send auth information when the user actually specified it in the url (or
> via configuration).
One consideration is that repositories often only require
authentication for pushing, but not pulling. So if you clone a
repository with auth info in the URL, it's remembered in hgrc, but not
sent over the network until pushing.
I'd prefer sending passwords over the network as rarely as possible,
even at the cost of an extra round-trip.
Marti
More information about the Mercurial-devel
mailing list