From 3d8610b6bc78945ecf1564b7370442786791c533 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Mon, 25 Jun 2012 11:22:44 +1200 Subject: Move server to new explicit netlib API. --- libpathod/pathod.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libpathod/pathod.py') diff --git a/libpathod/pathod.py b/libpathod/pathod.py index bc2bf6af..3d0f73e3 100644 --- a/libpathod/pathod.py +++ b/libpathod/pathod.py @@ -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() -- cgit v1.2.3