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

Method process_request

Lib/socketserver.py:703–711  ·  view source on GitHub ↗

Start a new thread to process the request.

(self, request, client_address)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected