summaryrefslogtreecommitdiff
path: root/proxy.py
diff options
context:
space:
mode:
Diffstat (limited to 'proxy.py')
-rwxr-xr-xproxy.py5
1 files changed, 5 insertions, 0 deletions
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)