Move server to new explicit netlib API.
This commit is contained in:
parent
15c48cfc5e
commit
3d8610b6bc
|
@ -26,4 +26,3 @@ class Pathoc(tcp.TCPClient):
|
|||
r.serve(self.wfile)
|
||||
self.wfile.flush()
|
||||
return http.read_response(self.rfile, r.method, None)
|
||||
|
||||
|
|
|
@ -109,7 +109,9 @@ class Pathod(tcp.TCPServer):
|
|||
)
|
||||
|
||||
def handle_connection(self, request, client_address):
|
||||
PathodHandler(request, client_address, self)
|
||||
h = PathodHandler(request, client_address, self)
|
||||
h.handle()
|
||||
h.finish()
|
||||
|
||||
def add_log(self, d):
|
||||
lock = threading.Lock()
|
||||
|
|
Loading…
Reference in New Issue