-
Notifications
You must be signed in to change notification settings - Fork 272
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
set a minimal size in the compression output buffer (#3961)
it should be at least large enough to hold the 10 byte gzip header. Otherwise the compressor goes into an infinite loop
- Loading branch information
Showing
2 changed files
with
33 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
### Fix hang and high CPU usage when compressing small responses ([PR #3961](https://github.com/apollographql/router/pull/3961)) | ||
|
||
When returning small responses (less than 10 bytes) and compressing them using gzip, the router could go into an infinite loop | ||
|
||
--- | ||
|
||
By [@Geal](https://github.com/Geal) in https://github.com/apollographql/router/pull/3961 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters