Patch: fix libeio cancellation

Hongli Lai hongli at phusion.nl
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

Web: http://www.phusion.nl/
E-mail: info at phusion.nl
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: <http://lists.schmorp.de/pipermail/libev/attachments/20140804/06e71cce/attachment.obj>


More information about the libev mailing list