From: Matt Corallo Date: Sun, 3 Oct 2021 21:41:18 +0000 (+0000) Subject: [net] Ensure we don't spin loop by keeping the poll write bit set X-Git-Tag: v0.0.102.0^2~6 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=b1ea57acc81af14e8623deca4a8a352d0d2ff71e;hp=b1ea57acc81af14e8623deca4a8a352d0d2ff71e;p=ldk-c-bindings [net] Ensure we don't spin loop by keeping the poll write bit set Previously we'd not been unsetting POLLOUT, which will result in us spin-loop'ing with ChannelManager_write_buffer_space_avail. Further, we'd also not been unsetting the POLLIN bit, which would result in us never pausing read as the SocketDescriptor API requires us to. ---