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

Bug 337271

Summary: Flush SSL endpoint
Product: [RT] Jetty Reporter: Greg Wilkins <gregw>
Component: serverAssignee: Greg Wilkins <gregw>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jetty-inbox
Version: 7.2.0   
Target Milestone: 7.2.x   
Hardware: All   
OS: All   
Whiteboard:

Description Greg Wilkins CLA 2011-02-15 20:44:46 EST
In the case of a servlet handling an SSL request that never returns to the select set dispatcher, it is possible for a flush to only partially flush the content to the SSL buffer.  Flush needs to block until even the endpoint buffers are flushed.
Comment 1 Greg Wilkins CLA 2011-02-16 16:29:59 EST
r2797

fixed by AbstractGenerator checking isBufferingOutput and calling EndPoint.flush directly if it is.