Skip Menu |

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

Report information
The Basics
Id: 106745
Status: new
Priority: 0/
Queue: HTTP-Server-Brick

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in:
  • 0.1.4
  • 0.1.5
Fixed in: (no value)



Subject: Test port > 65535
The test suite is using a socket with a port > 65535, which at least does not seem to work under FreeBSD. See http://www.cpantesters.org/cpan/report/7b59f01c-ce0a-11e4-a736-6ee5e0bfc7aa for a sample fail report. It is somewhat surprising that the test passes on other platforms like linux. Maybe it's so because only the least significant 16 bits are used here: $ nc localhost 85432 localhost [127.0.0.1] 19896 (?) : Connection refused $ perl -E 'say(85432 & 0xffff)' 19896
On 2015-08-29 06:43:55, SREZIC wrote: Show quoted text
> The test suite is using a socket with a port > 65535, which at least > does not seem to work under FreeBSD. See > http://www.cpantesters.org/cpan/report/7b59f01c-ce0a-11e4-a736- > 6ee5e0bfc7aa for a sample fail report. > > It is somewhat surprising that the test passes on other platforms like > linux. Maybe it's so because only the least significant 16 bits are > used here: > > $ nc localhost 85432 > localhost [127.0.0.1] 19896 (?) : Connection refused > > $ perl -E 'say(85432 & 0xffff)' > 19896
It seems that other BSD-derived OSes (NetBSD, OpenBSD, MacOSX) have the same problem. See http://matrix.cpantesters.org/?dist=HTTP-Server-Brick for a pass/fail overview.