summaryrefslogtreecommitdiff
path: root/qpid/cpp/examples
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
commitdd410bf7edb9944911ce1f5289b8a58c2a05f82d (patch)
treee8f57696d01c8898eaf2b0dc2f4cab1e550cc77f /qpid/cpp/examples
parentaade9bb7db0beedce5d63f80fb2cce243fb1c7be (diff)
downloadqpid-python-dd410bf7edb9944911ce1f5289b8a58c2a05f82d.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@944329 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/examples')
0 files changed, 0 insertions, 0 deletions