Description
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