]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib-imap-storage: Removed broken optimization for seeking to partial offset.
authorTimo Sirainen <tss@iki.fi>
Fri, 11 Jan 2013 04:18:36 +0000 (06:18 +0200)
committerTimo Sirainen <tss@iki.fi>
Fri, 11 Jan 2013 04:18:36 +0000 (06:18 +0200)
commit90b2203b039d0784a49950ecf0c5101363b4aedb
tree361f54287bc375dca5f56c3b0e33cd2f3814a5a6
parente689e77716e8acf110032d8752f80920629a9647
lib-imap-storage: Removed broken optimization for seeking to partial offset.
The optimization worked only when physical_start=0. It would have been
possible to fix it by finding the message_part where its header of body
offset is physical_start and only then start decreasing virtual_skip, but
probably too much complexity to be worth the trouble, especially since
clients rarely would benefit from this optimization.
src/lib-imap-storage/imap-msgpart.c