romange / helio

A modern framework for backend development based on io_uring Linux interface
Apache License 2.0
447 stars 50 forks source link

Fix bug in EpollSocket::RecvMsg #118

Closed royjacobson closed 1 year ago

royjacobson commented 1 year ago

Fixes dragonflydb/dragonfly/1591

The problem is that a code path in EpollSocket::RecvMsg would not reset read_context_ so fibers would resume at random suspend points outside.