summaryrefslogtreecommitdiff
path: root/proxy.py
diff options
context:
space:
mode:
authorYves <yvesf-git@xapek.org>2010-03-13 15:55:29 +0100
committerYves <yvesf-git@xapek.org>2010-03-13 15:55:29 +0100
commit69247decb19a5c3b366e3489ffdf8426367a9b40 (patch)
treea24476966a8ae628be726bf719f04d36be00572b /proxy.py
parenta71a8ebe8fd2c7a25bf7188fbfcf73c068b0b84d (diff)
parenta0297c212e5a9a4c2c478e538c23ddd0e96ac56e (diff)
downloadmagicproxy-69247decb19a5c3b366e3489ffdf8426367a9b40.tar.gz
magicproxy-69247decb19a5c3b366e3489ffdf8426367a9b40.zip
Merge branch 'master' of git@github.com:yvesf/magicproxy
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 0e3f7b5..73d5f29 100755
--- a/proxy.py
+++ b/proxy.py
@@ -224,6 +224,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)