Skip Menu |

This queue is for tickets about the Net-POP3-SSLWrapper CPAN distribution.

Report information
The Basics
Id: 82727
Status: open
Priority: 0/
Queue: Net-POP3-SSLWrapper

People
Owner: Nobody in particular
Requestors: joseph.pallas [...] oracle.com
Cc:
AdminCc:

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



Subject: Fatal flaw? Net::POP3 incompatible with IO::Socket::SSL
Date: Tue, 15 Jan 2013 11:51:27 -0800
To: bug-Net-POP3-SSLWrapper [...] rt.cpan.org
From: Joe Pallas <joseph.pallas [...] oracle.com>
This problem was found using version 0.04 with perl v5.10.1 running on multiple platforms (Solaris 10, Solaris 11, RedHat EL5, RedHat EL6). The problem manifests as a hang and timeout while retrieving messages. I found a message at <http://www.perlmonks.org/bare/?node_id=451080> which seems to describe the underlying problem. Net::POP3 uses Net::Cmd, and Net::Cmd uses sysread and select just like the code in the message cited. It looks like transparently replacing the socket used by Net::Cmd with an IO::Socket::SSL socket causes problems because of buffering at the SSL layer. I don't see any simple way to work around this. The message I found called for changing the buffer size, but the buffer size used by Net::Cmd does not seem to be adjustable. joe
Subject: Re: [rt.cpan.org #82727] Fatal flaw? Net::POP3 incompatible with IO::Socket::SSL
Date: Thu, 17 Jan 2013 17:31:25 +0900
To: bug-Net-POP3-SSLWrapper [...] rt.cpan.org
From: Tokuhiro Matsuno <tokuhirom [...] gmail.com>
I don't have any ideas... On Wed, Jan 16, 2013 at 4:51 AM, Joe Pallas via RT < bug-Net-POP3-SSLWrapper@rt.cpan.org> wrote: Show quoted text
> Tue Jan 15 14:51:54 2013: Request 82727 was acted upon. > Transaction: Ticket created by joseph.pallas@oracle.com > Queue: Net-POP3-SSLWrapper > Subject: Fatal flaw? Net::POP3 incompatible with IO::Socket::SSL > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: joseph.pallas@oracle.com > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=82727 > > > > This problem was found using version 0.04 with perl v5.10.1 running on > multiple platforms (Solaris 10, Solaris 11, RedHat EL5, RedHat EL6). > > The problem manifests as a hang and timeout while retrieving messages. I > found a message at <http://www.perlmonks.org/bare/?node_id=451080> which > seems to describe the underlying problem. Net::POP3 uses Net::Cmd, and > Net::Cmd uses sysread and select just like the code in the message cited. > > It looks like transparently replacing the socket used by Net::Cmd with an > IO::Socket::SSL socket causes problems because of buffering at the SSL > layer. > > I don't see any simple way to work around this. The message I found > called for changing the buffer size, but the buffer size used by Net::Cmd > does not seem to be adjustable. > > joe > > >