summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/framing/FrameSet.cpp
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2007-12-17 20:08:46 +0000
committerAndrew Stitcher <astitcher@apache.org>2007-12-17 20:08:46 +0000
commita1643ff7395fec6c46d2cd08c5fda7a8d0cfa99a (patch)
tree4a3618d1a23515366f8c3c46220b28026d40fd17 /cpp/src/qpid/framing/FrameSet.cpp
parentaea3779357db3028a721974d2d39a29d9ded2dd6 (diff)
downloadqpid-python-a1643ff7395fec6c46d2cd08c5fda7a8d0cfa99a.tar.gz
* Limited time allowed for reading on a single connection in a single go to 2ms
* Limit bytes allowed to be written on a connection on a single go to the max ever read * Small performance fix for appending to FrameSets git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@604983 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/framing/FrameSet.cpp')
-rw-r--r--cpp/src/qpid/framing/FrameSet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/framing/FrameSet.cpp b/cpp/src/qpid/framing/FrameSet.cpp
index 9d9b7bc8f8..0e1c9da922 100644
--- a/cpp/src/qpid/framing/FrameSet.cpp
+++ b/cpp/src/qpid/framing/FrameSet.cpp
@@ -28,7 +28,7 @@
using namespace qpid::framing;
using namespace boost;
-FrameSet::FrameSet(const SequenceNumber& _id) : id(_id) {}
+FrameSet::FrameSet(const SequenceNumber& _id) : id(_id) {parts.reserve(4);}
void FrameSet::append(AMQFrame& part)
{