12 Feb
2010
12 Feb
'10
6:19 p.m.
On Tue, 2009-09-29 at 16:40 +0100, Ed W wrote:
Yeah, not for next half a year at least. Anyway, it would basically need istream and ostream implementations for zlib. istream implementation kind of already exists in zlib plugin, except it's using gz*() functions instead of doing everything in memory. So:
- create zlib istream using zlib's deflate*() functions (I think?) and which takes another istream as input
- convert zlib plugin to use that stream instead
The above is now done. Mainly because seeking backwards in bzip2 compressed mails was broken.
- implement zlib ostream
Done also.
- create yet another proxy to login processes. Probably some day I should combine all of them to one that only proxies i/ostreams. Although implementing SSL i/ostreams could be a bit difficult.
This isn't done.. I've a separate http://hg.dovecot.org/dovecot-2.0-sslstream/ that does ssl proxying with ssl iostreams. It's probably easier to change to support compression proxying as well. Lets see if I can manage to do that now.. Anyway that code would be merged only for v2.1, since it changes things so much.