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

People
Owner: Nobody in particular
Requestors: omerta13 [...] yandex.ru
Cc:
AdminCc:

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, http://openid.yandex.ru/omerta13/ 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 https://rt.perl.org/rt3/Public/Bug/Display.html?id=117107)
Download (untitled) / with headers
text/plain 235b
Суб Мар 09 15:25:47 2013, http://openid.yandex.ru/omerta13/ писал: Show quoted text
> It seems it's a problem with IO::Socket::INET (I've opened > https://rt.perl.org/rt3/Public/Bug/Display.html?id=117107)
It's not a bug. Please, close it.


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

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.