Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Plack CPAN distribution.

Report information
The Basics
Id: 92905
Status: rejected
Priority: 0/
Queue: Plack

People
Owner: Nobody in particular
Requestors: leonerd-cpan [...] leonerd.org.uk
Cc:
AdminCc:

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



Subject: Incorrect error reporting from IO::Socket::INET->new
HTTP/Server/PSGI.pm line 94: $self->{listen_sock} ||= $class->new(%args) or die "failed to listen to port $self->{port}: $!"; This is incorrect - IO::Socket::* subclasses don't necessarily report errors in $!, they use $@ for this purpose. The die should read or die "failed to listen to port $self->{port}: $@"; (See also https://rt.cpan.org/Ticket/Display.html?id=92834) -- Paul Evans
Re-reported instead at https://github.com/plack/Plack/issues/447 -- Paul Evans