Buffer 1024 characters on each read
This commit is contained in:
parent
8174fc3133
commit
e0720adbde
@ -19,7 +19,7 @@ class TNH(TelnetHandler):
|
||||
else:
|
||||
p.stdin.write("2\n")
|
||||
while 1:
|
||||
s = p.stdout.read(1)
|
||||
s = p.stdout.read(1024)
|
||||
try:
|
||||
self.write(s)
|
||||
except:
|
||||
|
Loading…
Reference in New Issue
Block a user