develooper Front page | perl.perl5.porters | Postings from August 2014

[perl #122657] t/io/socket.t failing on hurd: peer from recv() should be empty or the remote name

From:
Dominic Hargreaves
Date:
August 31, 2014 00:17
Subject:
[perl #122657] t/io/socket.t failing on hurd: peer from recv() should be empty or the remote name
Message ID:
rt-4.0.18-16123-1409444238-1034.122657-75-0@perl.org
# New Ticket Created by  Dominic Hargreaves 
# Please include the string:  [perl #122657]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=122657 >


As reported in <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=758718> this test (introduced as part of [perl #118843]) fails on Hurd. The comment from the Hurd porting team is:

"The test seems fishy to me: it is making sure that the name as returned
by recv is *exactly* the same as what the server socket is bound to,
which is 0.0.0.0:some_port but I would expect recv to return the actual
IP address used in the socket, not 0.0.0.0.  It happens that Linux
doesn't return anything at all so it goes fine there, but that's not a
reason."




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About