]> Sergey Matveev's repositories - public-inbox.git/commit
httpd/async: retry reads properly when parsing headers
authorEric Wong <e@80x24.org>
Fri, 6 Jan 2023 10:10:51 +0000 (10:10 +0000)
committerEric Wong <e@80x24.org>
Fri, 6 Jan 2023 10:24:15 +0000 (10:24 +0000)
commita12cd80b5821cf5cb2c8672aad0fba94c451f728
tree479f53ac5fa432044c129a768f21aed35d6fdcf4
parent81a906c55b9510b38ea035dca13475fdd9d27083
httpd/async: retry reads properly when parsing headers

While git-http-backend sends headers with one write syscall,
upstream cgit still trickles them out line-by-line and we need to
account for that and retry Qspawn {parse_hdr} callbacks.
lib/PublicInbox/HTTPD/Async.pm
lib/PublicInbox/Qspawn.pm