[PATCH] AnyEvent::Handle

Maxime Soulé btik-cpan at scoubidou.com
Mon Mar 26 15:07:08 CEST 2012


Hello,

In one case, there is a problem when handling bogus serialized Storable 
data.

One call to Storable::thaw is not protected by an eval. So when an 
exception occurs in Storable, the program dies (except with EV that 
catches it) instead of calling the on_error callback.

The attached patch correct this behavior.

Best regards,

Max.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: storable.diff
URL: <http://lists.schmorp.de/pipermail/anyevent/attachments/20120326/4e3d2689/attachment.ksh>


More information about the anyevent mailing list