]> Sergey Matveev's repositories - public-inbox.git/commit
allow use of PerlIO layers for filesystem writes
authorEric Wong <e@80x24.org>
Mon, 24 Jun 2019 02:52:35 +0000 (02:52 +0000)
committerEric Wong <e@80x24.org>
Mon, 24 Jun 2019 05:26:26 +0000 (05:26 +0000)
commita3c27256d273492e1c9ee464dabda2c7ed4019c2
tree5ef3efbb78bbed93f9d5bb7f2f11e43f26fd7bca
parent6b1ee7ed8032e277a84bbe2a343f2c318a0defb8
allow use of PerlIO layers for filesystem writes

It may make sense to use PerlIO::mmap or PerlIO::scalar for
DS write buffering with IO::Socket::SSL or similar (since we can't
use MSG_MORE), so that means we need to go through buffering
in userspace for the common case; while still being easily
compatible with slow clients.

And it also simplifies GitHTTPBackend slightly.

Maybe it can make sense for HTTP input buffering, too...
lib/PublicInbox/DS.pm
lib/PublicInbox/GitHTTPBackend.pm
lib/PublicInbox/HTTP.pm