discard rejected connection

This commit is contained in:
ed 2025-12-13 14:41:16 +00:00
parent e440578cae
commit 4b0064b209

View file

@ -633,7 +633,7 @@ class HttpCli(object):
if relchk(self.vpath) and (self.vpath != "*" or self.mode != "OPTIONS"): if relchk(self.vpath) and (self.vpath != "*" or self.mode != "OPTIONS"):
self.log("illegal relpath; req(%r) => %r" % (self.req, "/" + self.vpath)) self.log("illegal relpath; req(%r) => %r" % (self.req, "/" + self.vpath))
self.cbonk(self.conn.hsrv.gmal, self.req, "bad_vp", "invalid relpaths") 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") zso = self.headers.get("authorization")
bauth = "" bauth = ""