use readline instead of read
This commit is contained in:
parent
eac9f00cb0
commit
f732e94c3f
1 changed files with 1 additions and 1 deletions
|
@ -332,7 +332,7 @@ async def telnet_server(
|
|||
) -> None:
|
||||
global active_sessions, live_session
|
||||
while True:
|
||||
data = await reader.read(128)
|
||||
data = await reader.readline()
|
||||
if not data:
|
||||
break
|
||||
try:
|
||||
|
|
Loading…
Reference in a new issue