Add filter for detecting flows with errors.

Also, remove dependency on weird _is_response method.
This commit is contained in:
Aldo Cortesi
2012-02-10 15:22:26 +13:00
parent b14c29b25c
commit 5f785e26b9
4 changed files with 37 additions and 25 deletions

View File

@@ -273,7 +273,7 @@ class ProxyHandler(SocketServer.StreamRequestHandler):
cc.close = True
return
if request._is_response():
if isinstance(request, flow.Response):
response = request
request = False
response = response._send(self.mqueue)