Skip Menu |

This queue is for tickets about the HTTP-Daemon CPAN distribution.

Report information
The Basics
Id: 83854
Status: open
Priority: 0/
Queue: HTTP-Daemon

Owner: Nobody in particular
Requestors: omerta13 [...]

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

Subject: HTTP::Daemon->new runs daemon on random port
Download (untitled) / with headers
text/plain 609b
Distribution: RPC-XML-0.77 Perl version: 5.14.2 OS: Mageia GNU/Linux 2 (x64); kernel 3.3.8 Description: I tried to pass invalid port 65536. HTTP::Daemon->new(LocalPort => 65536) opens connection on random port instead of return undef, because valid ports must be >= 0 and <= 65535. If you pass port "0", HTTP::Daemon->new(LocalPort => 0) also will return ref to daemon object opened on random port. Example: use HTTP::Daemon; my $d = HTTP::Daemon->new(LocalPort => 65536) || die; print "Please contact me at: <URL:", $d->url, ">\n"; Output: Please contact me at: <URL:http://localhost:52712/>
Download (untitled) / with headers
text/plain 138b
On Sat Mar 09 14:51:07 2013, wrote: Show quoted text
> Distribution: RPC-XML-0.77
Oops. Distribution: HTTP-Daemon-6.01
Download (untitled) / with headers
text/plain 118b
It seems it's a problem with IO::Socket::INET (I've opened
Download (untitled) / with headers
text/plain 235b
Суб Мар 09 15:25:47 2013, писал: Show quoted text
> It seems it's a problem with IO::Socket::INET (I've opened >
It's not a bug. Please, close it.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to