lp:~vila/bzr/405745-http-hangs

Created by Vincent Ladeuil on 2009-10-07 and last modified on 2009-10-12
Get this branch:
bzr branch lp:~vila/bzr/405745-http-hangs
Only Vincent Ladeuil can upload to this branch. If you are Vincent Ladeuil please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Vincent Ladeuil
Project:
Bazaar
Status:
Merged

Recent revisions

4736. By Vincent Ladeuil on 2009-10-12

Fixed as per Andrew's review.

* bzrlib/tests/http_server.py:
(TestingHTTPServerMixin.connect_socket): Be less dirty to handle
the socket errors.

4735. By Vincent Ladeuil on 2009-10-08

Reduce patch for review purposes.

* bzrlib/tests/http_server.py:
(TestingHTTPServerMixin.connect_socket): Fix python-2.4 missing
feature more simply.

4734. By Vincent Ladeuil on 2009-10-08

Fix python-2.4 compatibility.

* bzrlib/tests/http_server.py:
(TestingHTTPServer.server_bind,
TestingThreadingHTTPServer.server_bind): Band aid to work around
python-2.4 not updating server_address after bind.

* bzrlib/osutils.py:
(connect_socket): Band aid to work around python-2.4 missing
socket.create_connection().

4733. By Vincent Ladeuil on 2009-10-07

Cleanup and refactor the server shutdown.

* bzrlib/tests/http_server.py:
(TestingHTTPServerMixin): Implement a proper server() method able
to clean after itself and interruptible by calling shutdown() from
another thread.
(HttpServer._get_httpd): The server has already got the address
from the socket, just get it from there.
(HttpServer._http_start): Delegate the service to the server
itself.
(HttpServer.tearDown): Call server.shutdown() since that's more
appropriate.

4732. By Vincent Ladeuil on 2009-10-07

Don't use shutdown() to stop http servers.

* bzrlib/tests/http_server.py:
(TestingHTTPServerMixin.tearDown): Avoid using shutdown() to
properly stop the listening server. Use a real connexion instead
relying on callers to ensure the server will not listen anymore
after that last connection.
(HttpServer._http_start): Once we stop running, we still need to
close the listening socket.
(HttpServer.tearDown): Join the server thread to avoid leaks.

4731. By Canonical.com Patch Queue Manager <email address hidden> on 2009-10-06

MutableTree.has_changes() does not require a tree parameter anymore

4730. By Canonical.com Patch Queue Manager <email address hidden> on 2009-10-06

(arkanes) Add Cython support in setup.py if Pyrex is not found.

4729. By Canonical.com Patch Queue Manager <email address hidden> on 2009-10-06

(vila) Fix gssapi ftp client mode handling

4728. By Canonical.com Patch Queue Manager <email address hidden> on 2009-10-06

(vila) Cleanup imports

4727. By Canonical.com Patch Queue Manager <email address hidden> on 2009-10-06

(mbp) Bazaar can now send mail through Apple OS X Mail.app

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:bzr
This branch contains Public information 
Everyone can see this information.

Subscribers