]> code.citadel.org Git - citadel.git/commit
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)
commit45d7cd9bd4e2bb40d6e71cbd96dfbc4274928669
tree989a163458e988409f961e701f547ae902b336ea
parent1a2862a2af1b76bed69839775ffbdd5b0da0764d
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