Subject: | test calls $socket->send() with a TO parameter on a connected socket |
The tests for IO::Socket::ByteCounter call send() with a TO parameter on a connected socket.
Recently in bleadperl, the IO::Socket send() method was changed to always supply the TO parameter to the underlying CORE::send() function if the TO parameter is supplied to IO::Socket::send(), since this works for at least UDP sockets on Linux.
It doesn't work for UNIX sockets, and means the tests hang due to the failed send call (which the test doesn't check for.)
I suggest removing the 'peer' parameter from both calls to send() in the test code.
Tony
reported against perl as https://rt.perl.org/Ticket/Display.html?id=134224