pagekite/Mailpile — pull request #477 by EmilTh (2014-02-27 18:18:44+00:00)
Title: fix for Mailpile blocking on gpg decryption (bug #434)

For very large encrypted mail, Mailpile is blocking endlessly on
decryption. This is due to the fact, that Mailpile first tries to pass
all data to gpg and only then starts reading output of gpg.

The problem is fixed by useing select to multiplex input/output to/from
gpg.