log all requests, not just CONNECT

This commit is contained in:
Noah Levitt 2013-10-30 18:16:22 -07:00
parent 630779ff0b
commit c4d06b1564

View File

@ -342,7 +342,9 @@ class WarcProxyHandler(BaseHTTPServer.BaseHTTPRequestHandler):
buf = h.read(8192)
while buf != '':
buf = h.read(8192)
buf = h.read(8192)
self.log_request(h.status, h.recorder.len)
remote_ip = self._proxy_sock.getpeername()[0]