select() errors and AnyEvent::Loop

Felipe Gasper felipe at felipegasper.com
Tue Jun 1 20:08:33 CEST 2021


Hi all,

	I’ve noticed that AnyEvent::Loop doesn’t check for select() failures. Is this by design?

	In my testing it leads to a tight loop if, e.g., a file descriptor gets closed from underneath (possible w/ buggy XS modules or misuse of POSIX::close()) or if ENOMEM happens.

cheers,
-Felipe Gasper


More information about the anyevent mailing list