Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gzipped response body is cut around 45kB of gzip #103

Closed
mockersf opened this issue Mar 6, 2018 · 1 comment
Closed

gzipped response body is cut around 45kB of gzip #103

mockersf opened this issue Mar 6, 2018 · 1 comment

Comments

@mockersf
Copy link
Contributor

mockersf commented Mar 6, 2018

When getting a long gzip body, the compressed response is always around 45KB, which decompress to around 250KB of my expected json (it's full size is around 420KB)

I added a test in tests/test_server.rs: test_body_gzip_large_random in #102
with a random string of 70000 characters, the response only contains 63747 chars (which makes a gzip of 47KB)

fafhrd91 added a commit that referenced this issue Mar 6, 2018
@fafhrd91
Copy link
Member

fafhrd91 commented Mar 6, 2018

should be fixed in master

@fafhrd91 fafhrd91 closed this as completed Mar 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants