]> Sergey Matveev's repositories - public-inbox.git/commit
ds: fix and test for FD leaks with kqueue on ->Reset
authorEric Wong <e@80x24.org>
Sat, 1 Jun 2019 21:43:47 +0000 (21:43 +0000)
committerEric Wong <e@80x24.org>
Sat, 1 Jun 2019 21:45:24 +0000 (21:45 +0000)
commit1d94048ba6094b9b3bbefe279e066c3992b30408
treef344baeca7a8e8d1d0d31aa026f0b93efa84de59
parentf4bcc588998c6c4fcf816d7cac16f00ef47bd256
ds: fix and test for FD leaks with kqueue on ->Reset

Even though we currently don't use it repeatedly, ->Reset
should close() kqueue FDs and not cause the process to run
out of descriptors.

Add a close-on-exec test while we're at it.
MANIFEST
lib/PublicInbox/DS.pm
t/ds-leak.t [new file with mode: 0644]