chore(release): 0.6.0 #14

Merged
pufereq merged 33 commits from release/0.6.0 into main 2026-03-05 19:59:05 +00:00
11 changed files with 321 additions and 95 deletions
Showing only changes of commit 88d349090e - Show all commits

View File

@@ -210,7 +210,7 @@ class BackendServer:
"""
self.logger.info(f"[-] Disconnecting {client}...")
if client.socket is None:
if client.socket is None or client.socket._closed:
self.logger.warning(
f"Client {client} has no socket, nothing to disconnect."
)
@@ -274,9 +274,6 @@ class BackendServer:
try:
if mask & selectors.EVENT_READ:
self._receive_inbound(sock, client)
if not client.inbound:
self._disconnect(client)
return
while b"\n" in client.inbound:
line, client.inbound = client.inbound.split(b"\n", 1)