]> Sergey Matveev's repositories - public-inbox.git/commit
ds: allow ->write callbacks to syswrite directly
authorEric Wong <e@80x24.org>
Mon, 24 Jun 2019 02:52:45 +0000 (02:52 +0000)
committerEric Wong <e@80x24.org>
Mon, 24 Jun 2019 05:26:27 +0000 (05:26 +0000)
commitca6b59974a0f2e24a1d569d118b55c4fc66ff7a3
tree701072bf3f9de8e4873a601f11425be832e74e5d
parent87a03babc14247d4eac489beb95abba47cf4f358
ds: allow ->write callbacks to syswrite directly

We can bypass buffering when wbuf is empty when it's called
from a CODE reference passed to ->write.
lib/PublicInbox/DS.pm