initialize $do_compress #7

merged 1 commit into from Feb 6, 2014


None yet
2 participants

kvar commented May 8, 2012

If the server sends a compressed response, $do_compress remains set to 1 for the next request. So the server always tries to uncompress the next request, even when it's not really compressed (which causes it to fail). This initializes $do_compress = 0 before checking the request for compression.

rjray added a commit that referenced this pull request Feb 6, 2014

Merge pull request #7 from kvar/master
initialize $do_compress

@rjray rjray merged commit 856da31 into rjray:master Feb 6, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment