summaryrefslogtreecommitdiff
path: root/cpp/src/tests/IncompleteMessageList.cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2010-05-14 16:08:33 +0000
committerGordon Sim <gsim@apache.org>2010-05-14 16:08:33 +0000
commit221df8f0a2a7b8e820b6c2b75daef2d527a74ea2 (patch)
tree1e10e268e386ab6b392339eac1703cb993c4fea4 /cpp/src/tests/IncompleteMessageList.cpp
parentba63eb36f77ccce19d4849c29532566f8e7837fd (diff)
downloadqpid-python-221df8f0a2a7b8e820b6c2b75daef2d527a74ea2.tar.gz
This reverts r736810. In my testing (admittedly limited) I did not observe any benefot from the optimisation. It causes a bug where concurrent calls to the non-const getBody() method can result in the encodedSize() method returning 0. This has implications e.g. for store modules where the message size may be incorrectly reported resulting in buffer overruns.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@944329 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/IncompleteMessageList.cpp')
0 files changed, 0 insertions, 0 deletions