64K matches the Linux pipe default, and matches what we use in
httpd/async and qspawn. This should reduce syscalls used for
serving git packs via dumb HTTP and any ->getline code paths
used by other PSGI code.
This appears to speed up HTML rendering by w3m when serving
giant HTML responsees from the Devel::Mwrap::PSGI memory
debugger.
# limit our own running time for fairness with other
# clients and to avoid buffering too much:
my $buf = eval {
- local $/ = \8192;
+ local $/ = \65536;
$forward->getline;
} if $forward;