diff options
author | Gordon Sim <gsim@apache.org> | 2007-12-18 16:58:23 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2007-12-18 16:58:23 +0000 |
commit | 29a99ba263cd32b4bc6510ef748d77abc143227c (patch) | |
tree | a570a686b1804a56c54873af0c2ce51284ab13e2 /cpp/src/qpid/client/ExecutionHandler.cpp | |
parent | a1643ff7395fec6c46d2cd08c5fda7a8d0cfa99a (diff) | |
download | qpid-python-29a99ba263cd32b4bc6510ef748d77abc143227c.tar.gz |
Fixes to max frame size default and fragmentation on broker.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@605251 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/client/ExecutionHandler.cpp')
-rw-r--r-- | cpp/src/qpid/client/ExecutionHandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/client/ExecutionHandler.cpp b/cpp/src/qpid/client/ExecutionHandler.cpp index 85e646416c..ba3cdce636 100644 --- a/cpp/src/qpid/client/ExecutionHandler.cpp +++ b/cpp/src/qpid/client/ExecutionHandler.cpp @@ -206,7 +206,7 @@ void ExecutionHandler::sendContent(const MethodContent& content) if(data_length > 0){ header.setEof(false); out(header); - u_int32_t frag_size = maxFrameSize - (AMQFrame::frameOverhead() - 1 /*end of frame marker included in overhead but not in size*/); + const u_int32_t frag_size = maxFrameSize - (AMQFrame::frameOverhead() - 1 /*end of frame marker included in overhead but not in size*/); if(data_length < frag_size){ AMQFrame frame(in_place<AMQContentBody>(content.getData())); frame.setBof(false); |