Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 337271 - Flush SSL endpoint
Summary: Flush SSL endpoint
Status: RESOLVED FIXED
Alias: None
Product: Jetty
Classification: RT
Component: server (show other bugs)
Version: 7.2.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 7.2.x   Edit
Assignee: Greg Wilkins CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-15 20:44 EST by Greg Wilkins CLA
Modified: 2011-02-16 16:29 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.