Part of bzrlib.tests.http_server View In Hierarchy
Known subclasses: bzrlib.tests.https_server.TestingThreadingHTTPSServer
Since tests can initiate several concurrent connections to the same http server, we need an independent connection for each of them. We achieve that by spawning a new thread for each connection.
Method | __init__ | Undocumented |
Inherited from TestingThreadingTCPServer:
Method | get_request | Get the request and client address from the socket. |
Method | process_request_thread | Undocumented |
Method | process_request | Start a new thread to process the request. |
Method | shutdown_client | Undocumented |
Method | set_ignored_exceptions | Undocumented |
Method | _pending_exception | Raise server uncaught exception. |
Inherited from TestingTCPServerMixin (via TestingThreadingTCPServer):
Method | server_bind | Undocumented |
Method | serve | Undocumented |
Method | handle_request | Handle one request. |
Method | verify_request | Verify the request. |
Method | handle_error | Undocumented |
Method | ignored_exceptions_during_shutdown | Undocumented |
Method | stop_client_connections | Undocumented |
Method | shutdown_socket | Properly shutdown a socket. |