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

Bug 348618

Summary: GzipFilter stack in LoginServlet
Product: [ECD] Orion Reporter: Simon Kaegi <simon_kaegi>
Component: ClientAssignee: Simon Kaegi <simon_kaegi>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 0.2   
Target Milestone: 0.2   
Hardware: PC   
OS: Windows 7   
Whiteboard:

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.