diff options
Diffstat (limited to 'libmproxy/platform/windows.py')
-rw-r--r-- | libmproxy/platform/windows.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libmproxy/platform/windows.py b/libmproxy/platform/windows.py index 8c10421b..58783125 100644 --- a/libmproxy/platform/windows.py +++ b/libmproxy/platform/windows.py @@ -16,7 +16,6 @@ PROXY_API_PORT = 8085 class Resolver(object): - def __init__(self): TransparentProxy.setup() @@ -40,6 +39,7 @@ class APIRequestHandler(SocketServer.StreamRequestHandler): TransparentProxy API: Returns the pickled server address, port tuple for each received pickled client address, port tuple. """ + def handle(self): proxifier = self.server.proxifier while True: @@ -174,7 +174,7 @@ class TransparentProxy(object): if e.winerror == 995: return None, None else: - raise e + raise def redirect(self): """ |