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

Method handle_request

Lib/multiprocessing/managers.py:230–240  ·  view source on GitHub ↗

Handle a new connection

(self, conn)

Source from the content-addressed store, hash-verified

228 util.info(' ... exception was %r', e)
229
230 def handle_request(self, conn):
231 '''
232 Handle a new connection
233 '''
234 try:
235 self._handle_request(conn)
236 except SystemExit:
237 # Server.serve_client() calls sys.exit(0) on EOF
238 pass
239 finally:
240 conn.close()
241
242 def serve_client(self, conn):
243 '''

Callers 3

simple_server.pyFile · 0.45
serve_until_stoppedMethod · 0.45
manage_socketFunction · 0.45

Calls 2

_handle_requestMethod · 0.95
closeMethod · 0.45

Tested by

no test coverage detected