History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: XFIRE-557
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Dan Diephouse
Reporter: Gum Shoe
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
XFire

GZIP request compression is enabled if GZIP response compression is.

Created: 26/Jul/06 01:31 PM   Updated: 06/Aug/06 01:52 PM
Component/s: Core
Affects Version/s: 1.2-RC
Fix Version/s: 1.2

Time Tracking:
Not Specified

Environment: all


 Description  « Hide
Looks like a typo in
static boolean isGzipRequestEnabled(MessageContext context)
    {
        if (isGzipEnabled(context)) return true;
        
        Object gzipReqEnabled = context.getContextualProperty(GZIP_RESPONSE_ENABLED);
        return (gzipReqEnabled != null && gzipReqEnabled.toString().toLowerCase().equals("true"));
    }

It should be checking GZIP_REQUEST_ENABLED instead.

This passed the tests because the filter being use (pjl) does both request and response by default.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Dan Diephouse - 06/Aug/06 01:52 PM
Fixed. Thanks for the report!