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

Method run_server

Lib/test/test_xmlrpc.py:347–350  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

345 pass
346
347 def run_server():
348 server.socket.settimeout(float(1)) # Don't hang if client fails
349 server.handle_request() # First request and attempt at second
350 server.handle_request() # Retried second request
351
352 server = http.server.HTTPServer((socket_helper.HOST, 0), RequestHandler)
353 self.addCleanup(server.server_close)

Callers

nothing calls this directly

Calls 2

settimeoutMethod · 0.45
handle_requestMethod · 0.45

Tested by

no test coverage detected