From a0297c212e5a9a4c2c478e538c23ddd0e96ac56e Mon Sep 17 00:00:00 2001 From: Thomas Keck Date: Sat, 13 Mar 2010 14:00:42 +0100 Subject: First mockup of an gui --- proxy.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'proxy.py') diff --git a/proxy.py b/proxy.py index 44c7365..da30636 100755 --- a/proxy.py +++ b/proxy.py @@ -217,6 +217,11 @@ class HTTPProxyServer(asyncore.dispatcher): self.bind(("", 8080)) self.listen(5) + def shutdown(self): + #TODO Hier Proxy sauber beenden + #self.channel.close_when_done() + sys.exit() + def handle_accept(self): conn, addr = self.accept() HTTPChannel(self, conn, addr) -- cgit v1.2.1