Skip Menu |

This queue is for tickets about the Message-Passing CPAN distribution.

Report information
The Basics
Id: 78851
Status: resolved
Priority: 0/
Queue: Message-Passing

People
Owner: bobtfish [...] bobtfish.net
Requestors: TIMB [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: Message::Passing::Input::FileTail reacts very badly to EOF (e.g. tail process dies)
If the tail process that Message::Passing::Input::FileTail is reading dies the AnyEvent->io callback fires continuously sending a stream of undef messages into the message chain. The effect isn't pretty :) EOF needs to be detected and the command either restarted (with a warning and restart limit) or the input stream disabled in some way (with a warning). Perhaps a callback could be called to warn, make the decision, and return true (restart) false (disable) or throw an exception. Then the module doesn't need to implement much logic.
Thanks for the bug report, I'm hoping to find time to fix this during the next few days - sorry for the delay, but any other fixes were blocking on getting the Moose => Moo port released.
This is now fixed in master, I'll be releasing it before the end of YAPC - but I'm likely to do work on it first :)