Mercurial > hg
diff hgweb.cgi @ 11415:a1e575b48563
http push: break infinite recursion on failure with Python 2.6.5 (issue2179)
Python 2.6.5 will keep resetting the retry count on redirects, for example when
the server returns 401 on failing auth (like google code currently does). We
stop the endless recursion by not resetting the count.
http://bugs.python.org/issue3819 introduced the regression with Python 2.6.5.
http://bugs.python.org/issue8797 discusses a fix which might make it to 2.6.6
and 2.7.0.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Wed, 16 Jun 2010 22:54:58 +0200 |
parents | 338167735124 |
children | 227b9f13db13 |