tag 459693 confirmed thanks On Tue, Jan 08, 2008 at 06:16:39AM +0100, Albert Dengg wrote: > Package: libmail-gnupg-perl > Version: 0.10-2 > Severity: normal > > i wrote a little test application for encrypting mails through procmail > using Mail:GnuPG:
> however, with test messages larger then a few lines, i get timeout... > (it looks like it is in _maybe_print) Hi, the problem is that Mail::GnuPG sends the whole message to gpg before reading any of its output. With large messages the pipe buffer fills up and both processes will block on write(). The same problem is also present when decrypting; it's reported upstream in rt.cpan.org tickets #21302 and #21276. The Mail::GnuPG code needs to interleave the reading and writing with a select() loop. I have a patch almost ready, I'm just looking at integrating it with a better fix for #412041. Cheers, -- Niko Tyni [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]