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
@ -344,6 +344,8 @@ class WarcProxyHandler(BaseHTTPServer.BaseHTTPRequestHandler):
|
|||||||
while buf != '':
|
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]
|
remote_ip = self._proxy_sock.getpeername()[0]
|
||||||
|
|
||||||
# Let's close off the remote end
|
# Let's close off the remote end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user