oxen-io / oxen-mq

Communications layer used for both the Oxen storage server and oxend
https://oxen.io
BSD 3-Clause "New" or "Revised" License
19 stars 35 forks source link

epoll: always retrieve events from triggered sockets #88

Closed jagerman closed 11 months ago

jagerman commented 11 months ago

The epoll approach from #87 sometimes hangs a socket: apparently the call to getting the ZMQ events off a socket can have internal ZMQ side effects (see libzmq issue 3641 for more), so make sure we always call it on triggered sockets when using epoll.