MCPcopy Index your code
hub / github.com/RustPython/RustPython / process_request_thread

Method process_request_thread

Lib/socketserver.py:690–701  ·  view source on GitHub ↗

Same as in BaseServer but as a thread. In addition, exception handling is done here.

(self, request, client_address)

Source from the content-addressed store, hash-verified

688 _threads = _NoThreads()
689
690 def process_request_thread(self, request, client_address):
691 """Same as in BaseServer but as a thread.
692
693 In addition, exception handling is done here.
694
695 """
696 try:
697 self.finish_request(request, client_address)
698 except Exception:
699 self.handle_error(request, client_address)
700 finally:
701 self.shutdown_request(request)
702
703 def process_request(self, request, client_address):
704 """Start a new thread to process the request."""

Callers

nothing calls this directly

Calls 3

finish_requestMethod · 0.45
handle_errorMethod · 0.45
shutdown_requestMethod · 0.45

Tested by

no test coverage detected