Add reading clients' messages.
This commit is contained in:
@@ -93,7 +93,9 @@ class Server:
|
||||
|
||||
try:
|
||||
while True:
|
||||
pass
|
||||
data = await reader.read(self.BUFFER_SIZE)
|
||||
if not data:
|
||||
break
|
||||
except asyncio.CancelledError:
|
||||
pass
|
||||
finally:
|
||||
|
||||
Reference in New Issue
Block a user