about summary refs log tree commit homepage
path: root/bin/rainbows
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2013-01-24 19:47:41 +0000
committerEric Wong <normalperson@yhbt.net>2013-01-24 19:54:41 +0000
commit49f70632e2f4a9b84fd4fced7439d0844fed1bbd (patch)
tree9a037666f98b597b5cecddbe3c266221c1eaae37 /bin/rainbows
parentad5ab9fe21d57b78b7c6681bbc0907c934e898b0 (diff)
downloadrainbows-49f70632e2f4a9b84fd4fced7439d0844fed1bbd.tar.gz
on_read normally relies on the close checking in on_readable,
but on_deferred_write_complete may be called from on_writable
instead (bypassing the close check of on_readable).

This affects both Epoll and XEpoll users, but only if they
were sending responses via body#to_path and triggering
on_deferred_write_complete.

While we're at it, favor non-recursive want_more instead of
calling on_readable recursively in ev_write_responses to
prevent stack growth.
Diffstat (limited to 'bin/rainbows')
0 files changed, 0 insertions, 0 deletions