coolio_thread_*: fix 416 response handling
commitdc77752eb7bfe528c60dc0ac028717877342e22a
authorEric Wong <normalperson@yhbt.net>
Thu, 30 Dec 2010 08:32:21 +0000 (30 08:32 +0000)
committerEric Wong <normalperson@yhbt.net>
Wed, 5 Jan 2011 00:21:17 +0000 (4 16:21 -0800)
tree32987105ac9d56b53ea18966d5e56ec1dbf6b9b4
parent5c5aea99a57d07c1d0e0ea471b62acf2852526c7
coolio_thread_*: fix 416 response handling

After beefing up and enabling byte range tests for "sendfile"
(and no just IO.copy_stream), we noticed threaded-Coolio
variants did not handle invalid byte ranges correctly.
lib/rainbows/coolio/thread_client.rb
t/byte-range-common.sh [copied from t/t0022-copy_stream-byte-range.sh with 83% similarity, mode: 0644]
t/t0022-copy_stream-byte-range.sh
t/t0023-sendfile-byte-range.sh