Mime-parser rework: parse the mime headers of the current container so we can guess...
authorWilfried Goesgens <dothebart@citadel.org>
Sun, 28 Nov 2010 18:46:18 +0000 (19:46 +0100)
committerWilfried Goesgens <dothebart@citadel.org>
Sun, 28 Nov 2010 18:46:18 +0000 (19:46 +0100)
commitdf9432761e526bfe11e0a1e76609afbd4a2f131e
tree989a163458e988409f961e701f547ae902b336ea
parent86553edc85004ac93fb02f1bad9bbea56d5d8825
Mime-parser rework: parse the mime headers of the current container so we can guess the size of the content to jump accross; binary/ascii is used to switch the search algorithm for the next boundary.

 - the old mime parser version skipped empty containers; we do this by hand
 - for some reason the numbers addressing the mimeparts grow different, maybe mixed use of old/new may cause confusion...
libcitadel/lib/mime_parser.c