diff options
author | Eric Wong <e@80x24.org> | 2016-05-24 03:41:52 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-05-24 04:12:09 +0000 |
commit | 8648f519a95872600689c3a5d6d87fd17770f9fc (patch) | |
tree | 0a223fa836c02bf674d7d48b9b883908abeca1ce /lib/PublicInbox/Qspawn.pm | |
parent | 74bbc3da398d00ba12e9294e360ad177ab2061ed (diff) | |
download | public-inbox-8648f519a95872600689c3a5d6d87fd17770f9fc.tar.gz |
We no longer override Danga::Socket::event_write and instead re-enable reads by queuing up another callback in the $close response callback. This is necessary because event_write may not be completely done writing a response, only the existing buffered data. Furthermore, the {closed} field can almost be set at any time when writing, so we must check it before acting on pipelined requests as well as during write callbacks in more().
Diffstat (limited to 'lib/PublicInbox/Qspawn.pm')
0 files changed, 0 insertions, 0 deletions