Author: astitcher
Date: Tue Jun 3 20:43:12 2014
New Revision: 1599791
URL: http://svn.apache.org/r1599791
Log:
PROTON-516: Don't allocate a frame buffer the size of the remote max frame size
Modified:
qpid/proton/trunk/proton-c/src/transport/transport.c
Modified: qpid/proton/trunk/proton-c/src/transport/transport.c
URL:
http://svn.apache.org/viewvc/qpid/proton/trunk/proton-c/src/transport/transport.c?rev=1599791&r1=1599790&r2=1599791&view=diff
==============================================================================
--- qpid/proton/trunk/proton-c/src/transport/transport.c (original)
+++ qpid/proton/trunk/proton-c/src/transport/transport.c Tue Jun 3 20:43:12
2014
@@ -459,7 +459,6 @@ int pn_do_open(pn_dispatcher_t *disp)
}
disp->remote_max_frame = transport->remote_max_frame;
pn_buffer_clear( disp->frame );
- pn_buffer_ensure( disp->frame, disp->remote_max_frame );
}
if (container_q) {
transport->remote_container = pn_bytes_strdup(remote_container);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]