~bzr-pqm/bzr/bzr.dev

  • Committer: Vincent Ladeuil
  • Date: 2008-01-05 22:19:04 UTC
  • mto: (3928.1.1 bzr.integration)
  • Revision ID: v.ladeuil+lp@free.fr-20080105221904-185q2vl2hjbeul3d
Fix 1.1 related bugs in HTTP server, add HTTPS passing tests (by temporarily disabling pycurl certificate verification).

* doc/developers/authentication-ring.txt
(verify_certificates): Fix typo, obviously only apply to HTTPS 

* bzrlib/transport/http/ca_bundle.py:
(get_ca_path): Fix too long lines.

* bzrlib/transport/http/_pycurl.py:
(CURLE_SSL_CACERT): New error code.
(PyCurlTransport._set_curl_options): Temporarily disable peer
verification to make tests pass.
(PyCurlTransport._curl_perform): Catch CURLE_SSL_CACERT as a
connection error.
(get_test_permutations): Add HTTPS tests.

* bzrlib/tests/https_server.py:
(TestingHTTPSServer, TestingThreadingHTTPSServer): HTTPS test
servers.
(HTTPSServer_PyCurl): New class for pycurl HTTPS test server.

* bzrlib/tests/http_server.py:
(TestingHTTPRequestHandler.send_error): Overrides python version
since we need to specify a Content-Length.
(TestingHTTPRequestHandler.get_multiple_ranges): Sabotage !
Off-by-one error caused a buggy comment ! Went unnoticed until
pycurl+https hang.
(HttpServer.create_httpd): Allow server creation overriding.
Filename Latest Rev Last Changed Committer Comment Size
..
developer-guide 2691.1.1 17 years ago Ian Clatworthy move most existing topics into the User Guide dir Diff
mini-tutorial 2691.1.11 17 years ago Ian Clatworthy Added mini tutorial Diff
quick-reference 2691.1.12 17 years ago Ian Clatworthy Added Quick Start Summary Diff
release-notes 2691.1.1 17 years ago Ian Clatworthy move most existing topics into the User Guide dir Diff
tutorials 2977.1.13 17 years ago Ian Clatworthy more cleanups and creation of tutorials directory Diff
user-guide 2691.1.1 17 years ago Ian Clatworthy move most existing topics into the User Guide dir Diff
user-reference 2691.1.1 17 years ago Ian Clatworthy move most existing topics into the User Guide dir Diff