mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lécharny <elecha...@gmail.com>
Subject Re: [MINA 3] SSL working session : a feedback
Date Mon, 06 May 2013 15:07:04 GMT

Jean-François,

in the SslHelper class, processRead method, line 241, you check the
numbe rof produced bytes, and you  call the processMessageReceived()
method if it's not zero.

I think we should call the processMessageReceived() even if ther eis
zero bytes produced, accordingly to the specification :

" Zero-length fragments of Application data MAY be sent as they are
potentially useful as a traffic analysis countermeasure."
(http://www.rfc-editor.org/rfc/rfc5246.txt, 6.2.1, paragraph before the
last one)

-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com 


Mime
View raw message