kraih/mojo — Issue #264: Mojo::UserAgent: Issues with EV
Author: viliampucik
Created: 2012-01-16 23:04:02+00:00
State: open

Running the following one liner generates a lot of warnings related to EV:

```bash
$ perl -MMojo::UserAgent -e 'Mojo::UserAgent->new->get("http://mirror6.bjtu.edu.cn/archlinux/core/os/x86_64/core.db.sig")'
setsockopt() on closed socket GEN0 at /usr/share/perl5/vendor_perl/Mojo/IOLoop/Client.pm line 80.
Use of uninitialized value in hash element at /usr/share/perl5/vendor_perl/Mojo/IOWatcher.pm line 72.
Use of uninitialized value $fd in hash element at /usr/share/perl5/vendor_perl/Mojo/IOWatcher/EV.pm line 18.
Use of uninitialized value in subroutine entry at /usr/share/perl5/vendor_perl/Mojo/IOWatcher/EV.pm line 27.
Timer b26b800edf0eaf3616d25372a4b9fee0 failed: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /usr/share/perl5/vendor_perl/Mojo/IOWatcher/EV.pm line 27.
Use of uninitialized value in delete at /usr/share/perl5/vendor_perl/Mojo/IOWatcher/EV.pm line 33.

$ mojo version
CORE
Perl (5.014002, linux)
Mojolicious (2.43, Leaf Fluttering In Wind)

OPTIONAL
EV (4.03)
IO::Socket::IP (0.07)
IO::Socket::SSL (1.44)
Net::Rendezvous::Publish (not installed)
```