]> Sergey Matveev's repositories - public-inbox.git/commit
nntp: support slow blob retrievals
authorEric Wong <e@yhbt.net>
Tue, 16 Jun 2020 22:31:22 +0000 (22:31 +0000)
committerEric Wong <e@yhbt.net>
Sun, 21 Jun 2020 00:43:28 +0000 (00:43 +0000)
commit0e6ceff37fc38f28a1520d7475f31d47f74ec7e6
tree18b8e61fd60f10989b9cffff7417cef050d40e1c
parent3c947561fa0678803158f2174ff87992addb3c7e
nntp: support slow blob retrievals

Having `git cat-file' as a separate process naturally lends
itself to asynchronous dispatch.  Our event loop for -nntpd no
longer blocks on slow git storage.

Pipelining in -imapd was tricky and bugs were exposed by
mbsync(1).  Update t/nntpd.t to support pipelining ARTICLE
requests to ensure we don't have the same problems -imapd
did during development.
lib/PublicInbox/NNTP.pm
t/nntp.t
t/nntpd.t