【发布时间】:2018-02-14 15:30:17
【问题描述】:
我们的带有 SSLHandler 的网络服务器不响应来自 peer 的 close_notify 和 FIN。要求是 netty SslHandler 应该按照这里的 RFC 发送 close_notify。我们正在使用带有 Opensslengine 的 Netty-4.1.17。
7.2.1. Closure Alerts [[https://tools.ietf.org/html/rfc5246#section-7.2.1]]
The client and the server must share knowledge that the connection is
ending in order to avoid a truncation attack.
[...]
Unless some other fatal alert has been transmitted, each party is
required to send a close_notify alert before closing the write side
of the connection. The other party MUST respond with a close_notify
alert of its own and close down the connection immediately,
discarding any pending writes.
【问题讨论】:
标签: netty