]> Sergey Matveev's repositories - public-inbox.git/commit
http: move empty string check into write callback
authorEric Wong <e@80x24.org>
Tue, 3 May 2016 02:52:23 +0000 (02:52 +0000)
committerEric Wong <e@80x24.org>
Tue, 3 May 2016 09:12:37 +0000 (09:12 +0000)
commitce44148b662558922523465f29d372912b7c6a61
treea604d42a8f1670854fac2ee9b3c069a64796bcef
parent2e4250880849e2f08cb58a8708952fcd8a4a6e54
http: move empty string check into write callback

This empty string check is for middlewares such as Deflater
which may write empty strings, not for direct real callers of
Danga::Socket who (presumably) know what they're doing.
lib/PublicInbox/HTTP.pm