~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 5247.3.12.

  • Committer: Vincent Ladeuil
  • Date: 2010-06-03 16:10:48 UTC
  • mto: (5247.6.1 http-leaks)
  • mto: This revision was merged to the branch mainline in revision 5396.
  • Revision ID: v.ladeuil+lp@free.fr-20100603161048-n0ir7wz6t7qtycg4
Spawn a thread for each connection from a client.

* bzrlib/tests/test_test_server.py:
(TestTestingServerInAThread.test_client_talks_server_respond):
Check that the connection has been collected.

* bzrlib/tests/test_server.py:
(TestingTCPServerMixin.get_request)
(TestingThreadingTCPServer.get_request): Collect the resources
used for a client connection.
(TestingThreadingTCPServer.process_request): Spawn a thread for
each connection.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: