diff options
Diffstat (limited to 'libmproxy')
-rw-r--r-- | libmproxy/proxy.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libmproxy/proxy.py b/libmproxy/proxy.py index e2c25966..ff0d9a96 100644 --- a/libmproxy/proxy.py +++ b/libmproxy/proxy.py @@ -454,9 +454,10 @@ class ProxyHandler(SocketServer.StreamRequestHandler): def handle(self): cc = ClientConnection(self.client_address) - cc.send(self.mqueue) while not cc.close: + cc.send(self.mqueue) self.handle_request(cc) + cc = cc.copy() self.finish() def handle_request(self, cc): |