Skip Menu |

This queue is for tickets about the Net-Server-Mail CPAN distribution.

Report information
The Basics
Id: 127081
Status: resolved
Priority: 0/
Queue: Net-Server-Mail

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

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 0.25



Subject: error when get data from socket
From: ERRNO [...] cpan.org
Subject: error when get data from socket
From: ERRNO [...] cpan.org
It is about $Net::Server::Mail::VERSION = '0.23'; It is possible to obtain undef when data is get from socket. It is other situation than 0 and it means that read should be repeat. In method process() line contains code "if ( ( not defined $rv ) or ( $rv == 0 ) ) {" don`t distinguish 0 and undef. Quick fix inside this condition can looks like: "next if not defined $rv and $! =~ /Resource temporarily unavailable/;"
Missclick. Error is described here: https://rt.cpan.org/Ticket/Display.html?id=127081
Le Lun 10 Sep 2018 04:26:47, ERRNO a écrit : Show quoted text
> It is about $Net::Server::Mail::VERSION = '0.23'; > > It is possible to obtain undef when data is get from socket. It is > other situation than 0 and it means that read should be repeat. > > In method process() line contains code "if ( ( not defined $rv ) or ( > $rv == 0 ) ) {" don`t distinguish 0 and undef. Quick fix inside this > condition can looks like: "next if not defined $rv and $! =~ /Resource > temporarily unavailable/;"
Hello, thanks for this report, I'll take a look at this