Hi!
Hmm, I still find the warn code in 0.2:
http://cpansearch.perl.org/src/TYPESTER/AnyEvent-JSONRPC-Lite-0.02/lib/AnyEvent/JSONRPC/Lite/Server.pm
my $handle = AnyEvent::Handle->new(
on_error => sub {
my ($h, $fatal, $msg) = @_;
$h->destroy;
warn 'Server got error ', $msg;
},
Greetings,
Robin
On Mon, Aug 10, 2009 at 09:29:30PM -0400, Daisuke Murase via RT wrote:
Show quoted text> <URL:
https://rt.cpan.org/Ticket/Display.html?id=48578 >
>
> I think this should be fixed already in 0.02.
> Please check your module version again.
>
> On Mon Aug 10 06:15:14 2009, ELMEX wrote:
> > Hi!
> >
> > Just wanted to report that I get this warning output:
> >
> > Server got error Unexpected end-of-file at
> > /opt/perl510/lib/site_perl/5.10.0/AnyEvent/JSONRPC/Lite/Server.pm line 54.
> >
> > The thing is that EOFs are reported via on_error callback in
> > AnyEvent::Handle. And that it is kind of a 'normal' condition
> > to get an EOF if the client closes the connection.
> >
> >
> > Thanks,
> > Robin
>
>
--
Robin Redeker | Deliantra, the free code+content MORPG
elmex@ta-sa.org / r.redeker@gmail.com |
http://www.deliantra.net
http://www.ta-sa.org/ |