]> Sergey Matveev's repositories - public-inbox.git/commit
qspawn: retry sysread when parsing headers, too
authorEric Wong <e@80x24.org>
Thu, 4 Jul 2019 10:02:06 +0000 (10:02 +0000)
committerEric Wong <e@80x24.org>
Thu, 4 Jul 2019 10:16:41 +0000 (10:16 +0000)
commit620b5e23dded54e0abf954752767bc9683a882e3
tree49fb41ae4e6d7d8cbdf26f0b0422c874d369ed31
parent0f1da9d213e16946371b5c140b1c55b7231a8cd5
qspawn: retry sysread when parsing headers, too

We need to ensure the BIN_DETECT (8000 byte) check in
ViewVCS can be handled properly when sending giant
files.  Otherwise, EPOLLET won't notify us, again,
and responses can get stuck.

While we're at it, bump up the read-size up to 4096
bytes so we make fewer trips to the kernel.
lib/PublicInbox/Qspawn.pm
t/httpd-corner.psgi
t/httpd-corner.t