[ 
https://issues.apache.org/jira/browse/DIRMINA-1018?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Emmanuel Lecharny resolved DIRMINA-1018.
----------------------------------------
    Resolution: Fixed

Patch applied with http://git-wip-us.apache.org/repos/asf/mina/commit/bcf26ea2

Thanks for it, and sorry for the delay !

> fetchAppBuffer shrink
> ---------------------
>
>                 Key: DIRMINA-1018
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-1018
>             Project: MINA
>          Issue Type: Improvement
>          Components: SSL
>    Affects Versions: 2.0.9
>            Reporter: Terence Marks
>            Priority: Minor
>             Fix For: 2.0.10
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Recently an optimisation was added (DIRMINA-1017) which can increase the 
> capacity of member SslHandler.appBuffer. Testing found that whenever the 
> buffer was increased, it was increased to ~16000 bytes, where only ~4000 
> bytes of that frame was being used.
> Similar to how SslHandler.fetchOutNetBuffer() returns the outNetBuffer with:
> ...
> return answer.shrink();
> could I recommend the same is done for SslHandler.fetchAppBuffer()?
> ...
> return appBuffer.shrink();
> Thanks,
> Terence



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to