Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 348618 - GzipFilter stack in LoginServlet
Summary: GzipFilter stack in LoginServlet
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.2   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 0.2   Edit
Assignee: Simon Kaegi CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-07 14:03 EDT by Simon Kaegi CLA
Modified: 2011-09-01 11:42 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Kaegi CLA 2011-06-07 14:03:08 EDT
The mortbay GzipFilter is only used when the Http Status is between 200 and 399. If the status is set after writing the stream the GzipFilter will log an exception because it will have Gzipped the stream up until that point. In most cases this is harmless unless the stream has been flushed already. The better way to handle this is to setStatus "before" writing.
Comment 1 Simon Kaegi CLA 2011-06-07 14:11:25 EDT
Fixed in HEAD. Review with John.