chore(release): 0.4.0 #6

Merged
pufereq merged 5 commits from release/0.4.0 into main 2026-02-28 22:52:43 +00:00
2 changed files with 318 additions and 229 deletions
Showing only changes of commit 64866079d7 - Show all commits

View File

@@ -174,8 +174,17 @@ class Connector:
) )
try: try:
message: Message = Message.from_bytes(message_bytes) message: Message = Message.from_bytes(message_bytes)
# handle incoming ACKs
if ( if (
message.category == Category.CONTROL
and message.action == ControlAction.CLOSE
):
self.logger.warning(
"[!] Received CLOSE command from server, shutting down."
)
self.running = False
break
# handle incoming ACKs
elif (
message.category == Category.CONTROL message.category == Category.CONTROL
and message.action == ControlAction.ACK and message.action == ControlAction.ACK
): ):