]> Sergey Matveev's repositories - public-inbox.git/commit
input_pipe: account for undefined {sock}
authorEric Wong <e@80x24.org>
Tue, 26 Oct 2021 10:35:57 +0000 (10:35 +0000)
committerEric Wong <e@80x24.org>
Tue, 26 Oct 2021 17:43:58 +0000 (17:43 +0000)
commit2251a10158054d89868ff73784ce7af6e28949fa
treeb37eca982806c153a3cff015f52fed5cb9834c77
parentb35c6389859f13f4f216179dac40a481c3fd7e09
input_pipe: account for undefined {sock}

It's possible for ->event_step to fire twice due to ->requeue
with EPOLLET (but not EPOLLONESHOT).  So account for that and
avoid causing event loop errors as a result.
lib/PublicInbox/InputPipe.pm