"Leave-on-disk" MIME parsing



I just committed "leave-on-disk" MIME parsing to Tinymail's camel-lite.

Mind that this is highly experimental code.

The two commits that should be combined to prepare the patch for
upstream are:

http://tinymail.org/trac/tinymail/changeset/3462 and
http://tinymail.org/trac/tinymail/changeset/3455

I added Matthew and Jeffrey in CC so that they can review this using
those two diffs already.


The net result of these patches is that opening a truly large E-mail
will not consume the same amount of bytes as the size of the E-mail in
RAM. In stead the MIME parser will use seek() in case the stream
supports this.

We have been updating certain of Tinymail's streams to become seekable:

http://tinymail.org/trac/tinymail/changeset/3454

This was obviously related to all this.


-- 
Philip Van Hoof, freelance software developer
home: me at pvanhoof dot be 
gnome: pvanhoof at gnome dot org 
http://pvanhoof.be/blog
http://codeminded.be






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]