diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-07-25 09:28:22 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-07-26 09:23:49 +0000 |
commit | 052e2b3608071d9cd9d6b1d12f8cb69ac29124af (patch) | |
tree | d1c72552fd8ccc7dd5d3ad3a4dd76fbf68ebea72 /lib/rainbows/event_machine/response_pipe.rb | |
parent | 84ac2eaa8bd16e44420abf660420698f76ad5473 (diff) | |
download | rainbows-052e2b3608071d9cd9d6b1d12f8cb69ac29124af.tar.gz |
With sendfile enabled, we must avoid writing headers (or normal, non-file responses) while a file is deferred for sending. This means we must disable processing of new requests while a file is deferred for sending and use the on_write_complete callback less aggressively.
Diffstat (limited to 'lib/rainbows/event_machine/response_pipe.rb')
0 files changed, 0 insertions, 0 deletions