-
Notifications
You must be signed in to change notification settings - Fork 5.3k
filter: implemented gzip http filter #2087
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
Merged
Merged
Changes from all commits
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
41688bb
filter_gzip: implemented gzip http filter
f2d771c
filter_gzip: fixed comments
ab41a28
filter_gzip: included compression strategy in config, simplified logi…
e6a60dd
filter_gzip: wip - changes reqested
64f4b32
filter_gzip: wip - inspect content-length
1790374
filter_gzip: wip - included cache-control, content-type, etag and las…
63da733
filter_gzip: addressed suggested modifications
0916c89
filter_gzip: suggested modifications second pass
8b6cde4
filter_gzip: removed unnamed namespace
79bebed
filter_gzip: removed enums from json schema
4a948a4
filter_gzip: wip - converted filter to V2
056cec5
filter_gzip: wip - updated unit tests
b1703ac
filter_gzip: updated integration tests
92cce05
filter_gzip: converted to V2 api and improved test coverage
34ab3b0
filter_gzip: removed auto from function
e318d8b
filter_gzip: made small improvements to GzipFilterConfig class and in…
63cedce
filter_gzip: changed const assigment to braced-init
ae49a8c
filter_gzip: included the requested changes
6aeca5b
filter_gzip: updated filter to support configurable window bits
f6c42a2
filter_gzip: addressed requested changes, updated config and added mo…
328748d
filter_gzip: modified comment
4b1c919
filter_gzip: changed isContentTypeAllowed to use fast lookup and remo…
55807b8
filter_gzip: did changes suggested in code review
4e83abb
filter_gzip: fixed format
b584114
filter_gzip: applied changes suggested in code review
3c44d5b
filter_gzip: fixed tests
f254981
filter_gzip: improved performance and other critical parts of the design
6f7705b
filter_gzip: fixed thread sanitizer warning
cb6eae5
filter_gzip: wip code review changes
c75cf78
filter_gzip: fixed integration test
c1fa7b5
filter_gzip: resync with data-plane api and completed etag option
02ca187
filter_gzip: fixed comment
a7ac555
filter_gzip: modified private member function insertVaryHeader
6df4302
filter_gzip: code review changes
e901c1e
filter_gzip: add a comment to contentTypeSet and removed unecessary e…
7ceae22
filter_gzip: updated repository_locations
2fc9fc2
filter_gzip: code review changes
ba72b06
filter_gzip: fixed runtime error detected by asan
67272de
filter_gzip: made comment in todo clearer
8dd8a75
filter_gzip: dropped disableOnLastModifiedHeader and added friend cla…
3cdec34
filter_gzip: fixed format
62808a7
filter_gzip: code review changes
dad5fad
filter_gzip: updated repository locations and rebased
1f0d0cf
filter_gzip: fixed conflicts
16a3a96
filter_gzip: rebased and added option to remove accept-encoding header
b99155d
filter_gzip: changed vary header values to be case sensitive and upda…
cd363a7
filter_gzip: added support to handle case-insensitive header values
35d4bd3
filter_gzip: merged master and removed V1 support
f291227
filter_gzip: merged master and fixed format
ce30782
filter_gzip: removed unused code from filter_json
04d5ce8
filter_gzip: removed the remaining V1 code
a31fe2e
filter_gzip: resolved conflict
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like an unintended deviation from the original DJB2 hash having:
instead of:
While at it, a typo in
ingnoring.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@andre-rosa can i suggest opening a PR with your suggested change - seems like the typo is fixed already so i would suggest looking at current
mainThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your answer. Please check #21787.