Un-break request replay.

This commit is contained in:
Aldo Cortesi 2011-02-16 19:37:40 +13:00
parent f009770d4c
commit 3f0b84bb49

View File

@ -22,6 +22,7 @@ class ReplayThread(threading.Thread):
def run(self): def run(self):
try: try:
server = proxy.ServerConnection(self.flow.request) server = proxy.ServerConnection(self.flow.request)
server.send_request(self.flow.request)
response = server.read_response() response = server.read_response()
response.send(self.masterq) response.send(self.masterq)
except proxy.ProxyError, v: except proxy.ProxyError, v: