Patch: fix libeio cancellation

Hongli Lai hongli at
Mon Aug 4 09:02:41 CEST 2014

According to the libeio documentation, the callback will still be
called even if the request has been cancelled. The libeio code checks
for the cancel flag, and does not call the callback if it's set. This
happens even if the system call has already finished.

The attached patch fixes the problem.

Phusion | Web Application deployment, scaling, and monitoring solutions

E-mail: info at
Chamber of commerce no: 08173483 (The Netherlands)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_eio_cancel.patch
Type: application/octet-stream
Size: 351 bytes
Desc: not available
URL: <>

More information about the libev mailing list