This commit looks like it's incorrect. It seems like it's reading a MIME body, not a header; it should only stop reading until the boundary or end of file is reached. As it is now it's hanging on some emails and returning incorrect body contents. Reverting fixes this.
This commit looks like it's incorrect. It seems like it's reading a MIME body, not a header; it should only stop reading until the boundary or end of file is reached. As it is now it's hanging on some emails and returning incorrect body contents. Reverting fixes this.