Home
last modified time | relevance | path

Searched refs:httpd (Results 1 - 12 of 12) sorted by relevance

/third_party/python/Lib/test/test_asyncio/
H A Dtest_sock_lowlevel.py75 def _basetest_sock_client_ops(self, httpd, sock):
83 self.loop.sock_connect(sock, httpd.address))
100 self.loop.sock_connect(sock, httpd.address))
111 def _basetest_sock_recv_into(self, httpd, sock):
115 self.loop.sock_connect(sock, httpd.address))
129 with test_utils.run_test_server() as httpd:
131 self._basetest_sock_client_ops(httpd, sock)
133 self._basetest_sock_recv_into(httpd, sock)
135 async def _basetest_sock_recv_racing(self, httpd, sock):
137 await self.loop.sock_connect(sock, httpd
[all...]
H A Dutils.py198 httpd = server_class(address, SilentWSGIRequestHandler)
199 httpd.set_app(app)
200 httpd.address = httpd.server_address
202 target=lambda: httpd.serve_forever(poll_interval=0.05))
205 yield httpd
207 httpd.shutdown()
208 httpd.server_close()
H A Dtest_streams.py58 with test_utils.run_test_server() as httpd:
59 conn_fut = asyncio.open_connection(*httpd.address)
64 with test_utils.run_test_unix_server() as httpd:
65 conn_fut = asyncio.open_unix_connection(httpd.address)
85 with test_utils.run_test_server(use_ssl=True) as httpd:
87 *httpd.address,
95 with test_utils.run_test_unix_server(use_ssl=True) as httpd:
97 httpd.address,
117 with test_utils.run_test_server() as httpd:
118 conn_fut = asyncio.open_connection(*httpd
[all...]
H A Dtest_events.py539 with test_utils.run_test_server() as httpd:
541 lambda: MyProto(loop=self.loop), *httpd.address)
550 with test_utils.run_test_unix_server() as httpd:
552 lambda: MyProto(loop=self.loop), httpd.address)
599 def _test_create_ssl_connection(self, httpd, create_connection,
638 with test_utils.run_test_server(use_ssl=True) as httpd:
642 *httpd.address)
643 self._test_create_ssl_connection(httpd, create_connection,
644 peername=httpd.address)
653 with test_utils.run_test_unix_server(use_ssl=True) as httpd
[all...]
/third_party/skia/specs/web-img-decode/proposed/
H A Dserve.py19 httpd = socketserver.TCPServer(("", PORT), Handler) variable
21 httpd.serve_forever()
/third_party/skia/tools/
H A Dserve_wasm.py21 httpd = socketserver.TCPServer(("", PORT), Handler) variable
23 httpd.serve_forever()
/third_party/python/Lib/wsgiref/
H A Dsimple_server.py160 with make_server('', 8000, demo_app) as httpd:
161 sa = httpd.socket.getsockname()
165 httpd.handle_request() # serve one request, then exit
/third_party/json/tools/serve_header/
H A Dserve_header.py385 with DualStackServer(infos[0][4], worktrees) as httpd:
395 httpd.socket = ssl_ctx.wrap_socket(httpd.socket, server_side=True)
397 host, port = httpd.socket.getsockname()[:2]
400 httpd.serve_forever()
/third_party/ninja/src/
H A Dbrowse.py218 httpd = HTTPServer((hostname,port), RequestHandler) variable
226 httpd.serve_forever()
/third_party/python/Lib/test/
H A Dtest_urllib2_localnet.py66 self.httpd = LoopbackHttpServer(("127.0.0.1", 0),
68 self.port = self.httpd.server_port
76 self.httpd.server_close()
81 self.httpd.handle_request()
/third_party/python/Lib/http/
H A Dserver.py56 # Here's a quote from the NCSA httpd docs about log file format.
1260 with ServerClass(addr, HandlerClass) as httpd:
1261 host, port = httpd.socket.getsockname()[:2]
1268 httpd.serve_forever()
/third_party/lwip/src/
H A DFilelists.mk166 $(LWIPDIR)/apps/http/httpd.c

Completed in 13 milliseconds