]> Sergey Matveev's repositories - public-inbox.git/commit
http: prevent zero-byte writes
authorEric Wong <e@80x24.org>
Sat, 12 Mar 2016 00:20:12 +0000 (00:20 +0000)
committerEric Wong <e@80x24.org>
Sat, 12 Mar 2016 00:20:51 +0000 (00:20 +0000)
commita45891b9734bb428dd749e4a2b87f7fc28e6eb9d
tree78738eba03d7cef4a26438e41d90d8cbfa341006
parentd5fce291ff67459ccf2939afea0ea6a1157869d8
http: prevent zero-byte writes

Plack::Middleware::Deflater (and perhaps other middleware)
triggers zero-byte writes which wastes syscalls when
they get passed to Danga::Socket.  This may also trigger
problems when we introduce TLS support in the future.
lib/PublicInbox/HTTP.pm