no keepalive when request is proxied;

consider each request individually
rather than the previous general approach
This commit is contained in:
ed
2026-01-23 00:46:05 +00:00
parent 81e5eb7b27
commit b4fddbc3d2

View File

@@ -397,9 +397,9 @@ class HttpCli(object):
trusted_xff = False
n = self.args.rproxy
if n:
self.keepalive = False
zso = self.headers.get(self.args.xff_hdr)
if zso:
self.keepalive = False
if n > 0:
n -= 1