diff options
author | Eric Wong <normalperson@yhbt.net> | 2012-04-21 21:15:23 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2012-04-21 21:15:23 +0000 |
commit | 58f8fec7f881e1a48c20e3689eca8693a3f8e83a (patch) | |
tree | d10edbfedd8e77ead9876037aab225b6f682889b | |
parent | fdeadeaa48846722dcb897e4dee33fc9d6486367 (diff) | |
download | cmogstored-58f8fec7f881e1a48c20e3689eca8693a3f8e83a.tar.gz |
Noticed during valgrind testing, ugh, this is ugly :<
-rw-r--r-- | test/graceful_quit.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/graceful_quit.rb b/test/graceful_quit.rb index 4b97416..48c49b2 100644 --- a/test/graceful_quit.rb +++ b/test/graceful_quit.rb @@ -142,6 +142,7 @@ class TestGracefulQuit < Test::Unit::TestCase client.write("dev666/trickle-get-pipelined.fid HTTP/1.1\r\n") t_yield client.write("Host: example.com\r\n\r\nGET /") + t_yield buf = client.readpartial(666) head, body = buf.split(/\r\n\r\n/, 2) |