Revision 45512c0...

Go back to digest for 21st July 2013

Optimization in KDE-PIM

Dan Vratil committed changes in [akonadi] /:

Store filename of external payload without path

Store only filename instead of the whole path in parttable. The path is always the same
so this can save quite a lot of disk space and since server knows the path it can easily
prepend it to the filename before sending it to clients.

When client announces NOPAYLOADPATH capability, the path is not prepended to filename,
which reduces size of replies a bit.

REVIEW: 111541

File Changes

Modified 9 files
  •   libs/protocol_p.h
  •   server/src/clientcapabilities.cpp
  •   server/src/clientcapabilities.h
  •   server/src/handler/capability.cpp
  •   server/src/handler/capability.h
  •   server/src/handler/fetchhelper.cpp
  •   server/src/storage/parthelper.cpp
  •   server/src/storage/parthelper.h
  •   server/tests/unittest/parthelpertest.cpp
9 files changed in total