about summary refs log tree commit homepage
path: root/lib/yahns/sigevent_pipe.rb
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2018-12-08 11:37:06 +0000
committerEric Wong <e@80x24.org>2018-12-08 11:38:19 +0000
commitdbadf731d06a79cdae7afd23f4c20fb8fbb9c07e (patch)
tree5797a606a13ce3315b6f74dbe1561da24ac8236a /lib/yahns/sigevent_pipe.rb
parent59550b6ee9a4c801a7c44e9bd2ba29037d45b561 (diff)
downloadyahns-dbadf731d06a79cdae7afd23f4c20fb8fbb9c07e.tar.gz
Without sendfile, we can hit EOFError on IO#pread
if a file we're serving gets truncated mid-response.
This was causing test_truncated_sendfile failures;
but I didn't notice before because I forgot to set
SENDFILE_BROKEN=1 to disable the test.
Diffstat (limited to 'lib/yahns/sigevent_pipe.rb')
0 files changed, 0 insertions, 0 deletions