From a1643ff7395fec6c46d2cd08c5fda7a8d0cfa99a Mon Sep 17 00:00:00 2001 From: Andrew Stitcher Date: Mon, 17 Dec 2007 20:08:46 +0000 Subject: * 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 --- cpp/src/qpid/framing/FrameSet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src/qpid/framing/FrameSet.cpp') 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) { -- cgit v1.2.1