fix: force connection close

This commit is contained in:
2026-05-05 15:09:20 +02:00
parent 8854cb393c
commit 8855fd0b01
+2
View File
@@ -39,6 +39,8 @@ class BaseHandler(abc.ABC, http.server.BaseHTTPRequestHandler):
self.__in_size: int | None = None
self.https: bool = params.https
super().__init__(*args, **kwargs)
with contextlib.suppress(Exception):
self.connection.close()
@typing.override
def send_error(