On 5/1/2018 1:38 PM, Casper Langemeijer
wrote:
Added a comment or two on your github commits (nothing major), everything else looks good to me.
Cool, glad you found that doc useful. Hopefully I didn't miss anything - I tried to keep it up-to-date as I went and made changes.
That looks like it was a hack that should not be necessary anymore. What it did was to clobber the raw header cache of the top-level MIME part. The reason for this is probably because that code was going to respond to a request for *just* the MIME part and/or its headers. The problem with the header cache was that it included the raw *message* headers as well for the top-level MIME part (because the top-level MIME headers are intermixed with the message headers). This is no longer necessary because GMime now tracks the byte offset of each header and is therefore able to reconstruct the proper ordering of message and MIME headers when writing out the message and the MIME part no longer has any of the raw message header data. TL;DR: it was a hack around a hack in GMime :p
Thanks, I appreciate that you think so :) Also I welcome any doc fixes you have. I'm sure there are lots of improvements that can be made there. Jeff |