You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Trustin Lee (JIRA)" <ji...@apache.org> on 2006/02/24 07:07:39 UTC
[jira] Closed: (DIRMINA-177) ProtocolEncoderOutput.flush() writes
an extra empty buffer.
[ http://issues.apache.org/jira/browse/DIRMINA-177?page=all ]
Trustin Lee closed DIRMINA-177:
-------------------------------
Resolution: Fixed
ProtocolEncoderOutput.flush() never causes an empty buffer to get flushed now. Instead, ProtocollEncoderOutput.flush() can return null if nothing is flushed.
> ProtocolEncoderOutput.flush() writes an extra empty buffer.
> -----------------------------------------------------------
>
> Key: DIRMINA-177
> URL: http://issues.apache.org/jira/browse/DIRMINA-177
> Project: Directory MINA
> Type: Bug
> Versions: 0.9.2, 0.9, 0.9.1
> Reporter: Trustin Lee
> Assignee: Trustin Lee
> Fix For: 0.9.3
>
> MINA flushes an useless empty buffer when a user calls ProtocolEncoderOutput.flush() when there's no written buffer in its internal queue. Moreover, it also flushes an extra empty buffer when a user flushed all buffers and exits the encode() method.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira