summaryrefslogtreecommitdiff
path: root/proxy.py
diff options
context:
space:
mode:
authorThomas Keck <thomas@macbook.macbook>2010-03-13 14:00:42 +0100
committerThomas Keck <thomas@macbook.macbook>2010-03-13 14:00:42 +0100
commita0297c212e5a9a4c2c478e538c23ddd0e96ac56e (patch)
tree68889de4a1e23048d546478ae25a0138136203ed /proxy.py
parent619dca5ac40418af00b9a4acb954b56701d74299 (diff)
downloadmagicproxy-a0297c212e5a9a4c2c478e538c23ddd0e96ac56e.tar.gz
magicproxy-a0297c212e5a9a4c2c478e538c23ddd0e96ac56e.zip
First mockup of an gui
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)