We can reduce the number of buffers we use to store wrapped data
----------------------------------------------------------------
Key: DIRMINA-878
URL: https://issues.apache.org/jira/browse/DIRMINA-878
Project: MINA
Issue Type: Improvement
Components: Core
Affects Versions: 3.0.0-M1
Reporter: Emmanuel Lecharny
Fix For: 3.0.0-M1
Currently, when we process the Handshake, we send as many buffer as we have
NEED_WRAP events. If two NEED_WRAP events are consecutive, we could certainly
use the same buffer, as each buffer is 16Ko big. That would save 2 byteBuffer
allocation plus 32 Ko per handshake.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira