diff options
author | Eric Wong <e@80x24.org> | 2013-11-10 21:13:11 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2013-11-10 21:15:48 +0000 |
commit | 0493633a8db24660582fbdbf163f5e76b5aab6b1 (patch) | |
tree | a7c7a0e8605cf4621a4b6f6230054fcea70685f2 | |
parent | c16a3d724ddf593d31502efd5106998a2bae2c7f (diff) | |
download | yahns-0493633a8db24660582fbdbf163f5e76b5aab6b1.tar.gz |
ref: https://github.com/rubinius/rubinius/issues/2772
-rw-r--r-- | test/test_extras_try_gzip_static.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_extras_try_gzip_static.rb b/test/test_extras_try_gzip_static.rb index 416af71..77eaf33 100644 --- a/test/test_extras_try_gzip_static.rb +++ b/test/test_extras_try_gzip_static.rb @@ -53,7 +53,8 @@ class TestExtrasTryGzipStatic < Testcase c = get_tcp_client(host, port) begin c.write "#{req}\r\n\r\n" - head, body = c.read.split(/\r\n\r\n/) + buf = c.read(666000) + head, body = buf.split(/\r\n\r\n/) blk.call(head) body ensure |