mirror of
https://github.com/jetty/jetty.project.git
synced 2025-03-06 05:49:50 +00:00
This follows commit ff29a1cc51325ebf4f95feaa4bed847023a7e3fc for JETTY-1322. The reason to remove the guard is that the channel may be closed multiple times, and if for any reason a check to the idle timestamp triggers, then the idle callback is invoked, but it's not really idle: it is already closed. When used with SSL, this causes a truncation attack exception thrown by SSLEngine, because the idle callback causes a shutdown of the SSLEngine without having received a SSL close alert.