~bzr-pqm/bzr/bzr.dev

  • Committer: Vincent Ladeuil
  • Date: 2009-08-19 16:33:39 UTC
  • mto: (4630.1.1 integration)
  • Revision ID: v.ladeuil+lp@free.fr-20090819163339-80g9c3lad00wpe0v
More complete fix.

* bzrlib/transport/http/_urllib2_wrappers.py:
(AbstractHTTPHandler.retry_or_raise): ECONNRESET should be
translated into ConnectionReset. It's pretty rare that it can
occur during the request sending, but it has been observed during
selftest runs.

* bzrlib/transport/http/_pycurl.py:
(PyCurlTransport._curl_perform): Turns CURLE_RECV_ERROR into a
ConnectionReset instead of a ConnectionError or some callers won't
catch it properly.

* bzrlib/transport/http/__init__.py:
(SmartClientHTTPMedium.send_http_smart_request): Catch
ConnectionReset and turn into a SmartProtocolError like for
InvalidHttpResponse.

* bzrlib/tests/test_http.py:
(TestWallServer.test_http_has, TestWallServer.test_http_get):
ConnectionReset can be raised too.
Filename Latest Rev Last Changed Committer Comment Size
..
ftp 3331.2.3 16 years ago Jelmer Vernooij Move ftp transport into separate directory. Diff
http 1540.3.3 18 years ago Martin Pool Review updates of pycurl transport Split them out Diff
__init__.py 4463.1.2 15 years ago Martin Pool merge trunk 72.7 KB Diff Download File
brokenrename.py 4183.7.1 15 years ago Sabin Iacob update FSF mailing address 1.9 KB Diff Download File
chroot.py 4183.7.1 15 years ago Sabin Iacob update FSF mailing address 5.6 KB Diff Download File
decorator.py 4183.7.1 15 years ago Sabin Iacob update FSF mailing address 7.9 KB Diff Download File
fakenfs.py 4183.7.1 15 years ago Sabin Iacob update FSF mailing address 2.5 KB Diff Download File
fakevfat.py 4183.7.1 15 years ago Sabin Iacob update FSF mailing address 3.8 KB Diff Download File
local.py 4470.2.1 15 years ago Robert Collins Tweaked version of Jam's fix for bug 162930, writi 20.9 KB Diff Download File
log.py 4491.2.7 15 years ago Martin Pool Suppress now-redundant rate and time display in lo 5.8 KB Diff Download File
memory.py 4547.2.2 15 years ago Andrew Bennetts Add test for read_mergeable_from_transport raising 10.8 KB Diff Download File
nosmart.py 4183.7.1 15 years ago Sabin Iacob update FSF mailing address 1.6 KB Diff Download File
readonly.py 4189.1.1 15 years ago Martin Pool merge update to FSF address 3 KB Diff Download File
remote.py 4189.1.1 15 years ago Martin Pool merge update to FSF address 23.4 KB Diff Download File
sftp.py 4360.5.4 15 years ago Robert J. Tanner Merge 1.15.1 back to trunk 49.3 KB Diff Download File
ssh.py 4555.1.3 15 years ago John Arbash Meinel Reformat the errors so they aren't so long. 23.5 KB Diff Download File
trace.py 4491.2.9 15 years ago Martin Pool Delete redundant comment 6.3 KB Diff Download File
unlistable.py 4183.7.1 15 years ago Sabin Iacob update FSF mailing address 1.7 KB Diff Download File