From 4b0064b2094244873ca2c49f6a4e94bbac0f865c Mon Sep 17 00:00:00 2001 From: ed Date: Sat, 13 Dec 2025 14:41:16 +0000 Subject: [PATCH] discard rejected connection --- copyparty/httpcli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/copyparty/httpcli.py b/copyparty/httpcli.py index 6f7a57b1..73ceaa82 100644 --- a/copyparty/httpcli.py +++ b/copyparty/httpcli.py @@ -633,7 +633,7 @@ class HttpCli(object): if relchk(self.vpath) and (self.vpath != "*" or self.mode != "OPTIONS"): self.log("illegal relpath; req(%r) => %r" % (self.req, "/" + self.vpath)) self.cbonk(self.conn.hsrv.gmal, self.req, "bad_vp", "invalid relpaths") - return self.tx_404() and self.keepalive + return self.tx_404() and False zso = self.headers.get("authorization") bauth = ""