read() instead of sysread(), fixes ssh sessions
git-svn-id: file:///home/svn/framework3/trunk@12495 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
178ae10e22
commit
61ac192d0d
|
@ -64,7 +64,7 @@ class CommandStream
|
|||
self.monitor = Thread.new do
|
||||
while(true)
|
||||
next if not self.rsock.has_read_data?(1.0)
|
||||
buff = self.rsock.sysread(16384)
|
||||
buff = self.rsock.read(16384)
|
||||
break if not buff
|
||||
verify_channel
|
||||
self.channel.send_data(buff) if buff
|
||||
|
|
Loading…
Reference in New Issue