]> 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 Dec 2020 19:35:16 +0000 (19:35 +0000)
commitf9c3b3746445219bcca75e98b48c56a9049b9bc5
tree69ac358a1921fe21feae84958218eea875c25a29
parente578a012532cd91f127a1cf941683c0377f9ca63
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.

(cherry picked from commit 34880bc83077eac5739deca69f66df7685965064)
lib/PublicInbox/IMAP.pm