16 lines
323 B
Diff
16 lines
323 B
Diff
|
--- trunk/lib/net/protocol.rb 2007/03/05 00:17:38 11994
|
||
|
+++ trunk/lib/net/protocol.rb 2007/03/19 02:27:08 12091
|
||
|
@@ -128,9 +128,11 @@
|
||
|
|
||
|
private
|
||
|
|
||
|
+ BUFSIZE = 1024 * 16
|
||
|
+
|
||
|
def rbuf_fill
|
||
|
timeout(@read_timeout) {
|
||
|
- @rbuf << @io.sysread(1024)
|
||
|
+ @rbuf << @io.sysread(BUFSIZE)
|
||
|
}
|
||
|
end
|
||
|
|