]> Sergey Matveev's repositories - public-inbox.git/commit
git: set non-blocking flag in case of other bugs
authorEric Wong <e@80x24.org>
Sun, 29 Nov 2020 10:52:29 +0000 (10:52 +0000)
committerEric Wong <e@80x24.org>
Mon, 30 Nov 2020 00:47:32 +0000 (00:47 +0000)
commitf68c45d33656a4602c2d8b8c1a8be813f8a9a70d
tree3aad75a457a7a65c092528a48316cc2cf54a9585
parentea885bf0f76dc1795dc771667be721ec0fed5482
git: set non-blocking flag in case of other bugs

This makes GitAsyncCat more resilient to bugs in Gcf2 or even
git-cat-file itself.  I noticed -imapd stuck on read(2) from
the Gcf2 pipe, so there may be a bug somewhere in Gcf2 or
PublicInbox::Git.  This should make us more resilient to them
and hopefully help us notice and fix them.
lib/PublicInbox/Git.pm
lib/PublicInbox/GitAsyncCat.pm