At http://bzr.arbash-meinel.com/branches/bzr/1.11/default_urllib
------------------------------------------------------------
revno: 3883
revision-id: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: John Arbash Meinel <[EMAIL PROTECTED]>
branch nick: default_urllib
timestamp: Mon 2008-12-08 13:44:02 -0600
message:
Use urllib for http connections, pycurl for https connections.
=== modified file 'NEWS'
--- a/NEWS 2008-12-05 17:26:40 +0000
+++ b/NEWS 2008-12-08 19:44:02 +0000
@@ -45,6 +45,11 @@
returned from each pack in turn, in forward I/O order.
(John Arbash Meinel)
+ * The default http handler has been changed from pycurl to urllib.
+ The default is still pycurl for https connections. (The only
+ advantage of pycurl is that it checks ssl certificates.)
+ (John Arbash Meinel)
+
bzr 1.10 2008-12-05
-------------------
=== modified file 'bzrlib/transport/__init__.py'
--- a/bzrlib/transport/__init__.py 2008-12-01 23:20:22 +0000
+++ b/bzrlib/transport/__init__.py 2008-12-08 19:44:02 +0000
@@ -1739,12 +1739,13 @@
help="Read-only access of branches exported on the web.")
register_transport_proto('https://',
help="Read-only access of branches exported on the web using SSL.")
+# The default http implementation is urllib, but https is pycurl if available
+register_lazy_transport('http://', 'bzrlib.transport.http._pycurl',
+ 'PyCurlTransport')
register_lazy_transport('http://', 'bzrlib.transport.http._urllib',
'HttpTransport_urllib')
register_lazy_transport('https://', 'bzrlib.transport.http._urllib',
'HttpTransport_urllib')
-register_lazy_transport('http://', 'bzrlib.transport.http._pycurl',
- 'PyCurlTransport')
register_lazy_transport('https://', 'bzrlib.transport.http._pycurl',
'PyCurlTransport')
--
bazaar-commits mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/bazaar-commits