Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 367175

Summary: SSL 100% CPU spin in case of blocked write and RST
Product: [RT] Jetty Reporter: Simone Bordet <simone.bordet>
Component: serverAssignee: Simone Bordet <simone.bordet>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: dajoker, jetty-inbox
Version: 7.6.0.RC0   
Target Milestone: 7.5.x   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Simone Bordet CLA 2011-12-20 07:23:45 EST
In case a client is slow to read and eventually sends a RST, the SSL machinery spins, causing 100% CPU.
Comment 1 Simone Bordet CLA 2011-12-20 07:25:31 EST
The spin was caused by a catch block that was eating the exception thrown (the exception was thrown due to the RST sent by the client), so Jetty was never closing the endpoint associated.

Fixed by closing the endpoint and rethrowing the exception.