mirror of
https://github.com/internetarchive/warcprox.git
synced 2025-01-18 13:22:09 +01:00
log all requests, not just CONNECT
This commit is contained in:
parent
630779ff0b
commit
c4d06b1564
@ -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]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user