MCPcopy Index your code
hub / github.com/python/cpython / process_request

Method process_request

Lib/socketserver.py:700–708  ·  view source on GitHub ↗

Start a new thread to process the request.

(self, request, client_address)

Source from the content-addressed store, hash-verified

698 self.shutdown_request(request)
699
700 def process_request(self, request, client_address):
701 """Start a new thread to process the request."""
702 if self.block_on_close:
703 vars(self).setdefault('_threads', _Threads())
704 t = threading.Thread(target = self.process_request_thread,
705 args = (request, client_address))
706 t.daemon = self.daemon_threads
707 self._threads.append(t)
708 t.start()
709
710 def server_close(self):
711 super().server_close()

Callers

nothing calls this directly

Calls 4

startMethod · 0.95
_ThreadsClass · 0.85
setdefaultMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected