[tpop3d-discuss]Corrupted TOP response with PIPELINING and tpop3d 1.5.3
Chris Lightfoot
chris at ex-parrot.com
Wed, 2 Feb 2005 17:34:47 +0000
On Wed, Feb 02, 2005 at 01:16:10AM +0100, Martin Blapp wrote:
>
> Hi,
>
> Since one week we are useing tpop3d as pop3 server for our webmail
> backend, which has the ability to use PIPELINING, as you can see here:
i'm just trying to reproduce this locally -- can you
confirm that this scriptlet should show the problem:
perl -MIO::Socket -e '$s = new IO::Socket::INET("localhost:9000"); $s->print("user USERNAME\r\n"); $s->getline(); $s->print("pass PASSWORD\r\n"); $s->getline(); $s->print("LIST\r\n"); for ($i = 1; $i < 2000; ++$i) { $j=1 + $i%500;$s->print("top $j 0\r\n"); } $s->print("quit\r\n"); while (defined($_ = $s->getline())) { print $_; }'
(replace USERNAME and PASSWORD as appropriate)
--
``If you found yourself in a situation where you could either save a drowning
man, or take a Pulitzer-prize-winning photograph of him drowning, what
shutter speed and setting would you use?'' (help wanted ad for photographer)