Add reading clients' messages.

This commit is contained in:
2023-12-12 16:03:57 +02:00
parent 0a7fd8ba1a
commit df81f99b73
+3 -1
View File
@@ -93,7 +93,9 @@ class Server:
try: try:
while True: while True:
pass data = await reader.read(self.BUFFER_SIZE)
if not data:
break
except asyncio.CancelledError: except asyncio.CancelledError:
pass pass
finally: finally: