[Bug 3567] New: hg not sending authentication on clone operations on the first try

bugzilla-daemon at bz.selenic.com bugzilla-daemon at bz.selenic.com
Wed Aug 1 17:32:08 CDT 2012


http://bz.selenic.com/show_bug.cgi?id=3567

          Priority: normal
            Bug ID: 3567
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: hg not sending authentication on clone operations on
                    the first try
          Severity: bug
    Classification: Unclassified
                OS: Windows
          Reporter: jelinekjason at hotmail.com
          Hardware: PC
            Status: UNCONFIRMED
           Version: 2.2.1
         Component: Mercurial
           Product: Mercurial

I have noticed that during a clone of a repo there are 5 requests being sent,
each taking 1 second, on the first try for all 5 requests the authentication is
not being sent.  After those requests fail (returns a 401), it retries all 5
requests with the authentication and works.  It would seem that after the very
1st request fails it should send the authentication and the rest of the 4
requests should send authentication on the first try.

This is a huge slowdown when cloning a repo with subrepos in it.  We have 360+
subrepos and it retries the 5 requests for every subrepo.  This translates to
around 30 minutes of failed retries.  A clone currently takes 54+ minutes but
if authentication is turned off it only takes 24 minutes.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list