]> Sergey Matveev's repositories - public-inbox.git/commit
httpd/async: do not attempt future writes on closed sockets
authorEric Wong <e@80x24.org>
Sat, 9 Jul 2016 04:51:36 +0000 (04:51 +0000)
committerEric Wong <e@80x24.org>
Sat, 9 Jul 2016 04:52:11 +0000 (04:52 +0000)
commitacd3a41f52167b8e41cf34ab8164a9dfb5ef9c5c
tree018d375ba0fef58a1a75c5558b40cba7c1e0fddb
parent2c972f3d70caf99488fff300341450e48be6ebf1
httpd/async: do not attempt future writes on closed sockets

Danga::Socket::close does not clear the write_buf_size field,
so it's conceivable we could attempt to queue up data and
callbacks we can never flush out.
lib/PublicInbox/HTTPD/Async.pm