]> Sergey Matveev's repositories - public-inbox.git/commit
imap: avoid raising exception if client disconnects
authorEric Wong <e@80x24.org>
Sat, 26 Sep 2020 08:08:37 +0000 (08:08 +0000)
committerEric Wong <e@80x24.org>
Sat, 26 Sep 2020 21:05:53 +0000 (21:05 +0000)
commit34880bc83077eac5739deca69f66df7685965064
tree76cd1cf724f2b3bf01c3cf217a0061179cfecc72
parentf4728a1ef16593305956c4dada424353f57b3879
imap: avoid raising exception if client disconnects

This ought to save a few cycles if a client disconnects while
in the middle of a (UID) FETCH.  This avoids:

  Can't call method "git" on an undefined value at .../PublicInbox/IMAP.pm

errors in stderr.
lib/PublicInbox/IMAP.pm