Summary: | Possible memory leak in org.apache.coyote.AbstractProtocol$ConnectionHandler when there's a protocol error | ||
---|---|---|---|
Product: | Tomcat 8 | Reporter: | Leonardo <leonardo.batista> |
Component: | WebSocket | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 8.5.x-trunk | ||
Target Milestone: | ---- | ||
Hardware: | PC | ||
OS: | Linux |
Description
Leonardo
2018-04-26 16:52:33 UTC
Thanks for the report. Having reviewed the code, I opted to always close the socket after an I/O error. In most (all?) cases it will not be possible to close the connection cleanly and this ensures that the connection is always closed. Fixed in: - trunk for 9.0.8 onwards - 8.5.x for 8.5.31 onwards |