<table><tr><td style="">dvratil added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D12230">View Revision</a></tr></table><br /><div><div><p>Interesting, thanks for debugging this Ade! I'm fine with merging this, but as <a href="https://phabricator.kde.org/p/tcberner/" style="
border-color: #f1f7ff;
color: #19558d;
background-color: #f1f7ff;
border: 1px solid transparent;
border-radius: 3px;
font-weight: bold;
padding: 0 4px;">@tcberner</a> said, please use a named constant for the buffer size, instead of a magical numerical constant, move the adjustSocketBuffer() functions to src/private/datastream_p.cpp to avoid having two implementations of it (the library is shared by both the Akonadi Server and the client libraries), and drop some of the extra qDebugs().</p>
<p>Technically, Akonadi should be able to cope with messages larger than the buffer size but looks like there's a problem somewhere in the DataStream (or maybe Qt?). Knowing this is an issue, I should be able to investigate further (assuming I can get FreeBSD with Akonadi to run in a VM :-)) and make a proper fix in Akonadi someday.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R165 Akonadi </div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D12230">https://phabricator.kde.org/D12230</a></div></div><br /><div><strong>To: </strong>adridg, dvratil<br /><strong>Cc: </strong>tcberner, KDE PIM, dvasin, winterz, vkrause, mlaurent, knauss, dvratil<br /></div>