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

gzip HTTP filter #269

Closed
fabware opened this issue Dec 3, 2016 · 10 comments
Closed

gzip HTTP filter #269

fabware opened this issue Dec 3, 2016 · 10 comments
Assignees
Labels
enhancement Feature requests. Not bugs or questions.
Milestone

Comments

@fabware
Copy link

fabware commented Dec 3, 2016

I use envoy as front end proxy, set Accept-Encoding: gzip doesn't work. Content doesn't get compressed.

There seems no document for encoding configuration.

@mattklein123 mattklein123 added the enhancement Feature requests. Not bugs or questions. label Dec 3, 2016
@mattklein123
Copy link
Member

Envoy is not a origin server and currently does not support any kind of automatic content transformation.

We could implement an HTTP compression filter so that is the feature request here.

@mattklein123 mattklein123 changed the title support gzip gzip HTTP filter Dec 3, 2016
@fabware
Copy link
Author

fabware commented Dec 4, 2016

Noted. Thanks for your clarification.

@gabriel-sagula-hs
Copy link

Hi @mattklein123, would be possible to see some http filter example?

@mattklein123
Copy link
Member

@gabriel-sagula-hs there are numerous examples in the existing code base. Can you look at one of those? I would love to have a more self contained example but don't have the time right now. (FWIW many people have written filters with little/no interaction with me so I know it's doable).

@gabriel-sagula-hs
Copy link

Thanks for the quick response @mattklein123
We are evaluating few products right now, including Envoy. One thing that is critical for us is to be able to accept gzip. So, I'm trying to write a filter for that.
Are those the examples that you refer to? https://github.com/lyft/envoy/tree/master/source/common/http/filter

Thanks!

@mattklein123
Copy link
Member

@mattklein123
Copy link
Member

Also here: https://github.com/lyft/envoy/tree/master/source/server/http

Those are the config loaders for all the filters, which you can then search through to the code.

@gabriel-sagula-hs
Copy link

Thanks Matt for your time. This is very helpful.

@mattklein123 mattklein123 added the help wanted Needs help! label Jul 12, 2017
@mattklein123
Copy link
Member

This is being worked on by @gsagula

@mattklein123
Copy link
Member

Fixed

PiotrSikora referenced this issue in istio/envoy Nov 1, 2019
Signed-off-by: Piotr Sikora <piotrsikora@google.com>
jpsim pushed a commit that referenced this issue Nov 28, 2022
Adds tests for the request builders similar to the ones available on master for Kotlin.

Also fixes the `Equatable` comparison of `Request` by overriding `isEqual`. This is required since this type subclasses `NSObject` to be visible to Objective-C, and we want property comparison instead of pointer comparison here.

Resolves envoyproxy/envoy-mobile#252

Signed-off-by: Michael Rebello <mrebello@lyft.com>
Signed-off-by: JP Simard <jp@jpsim.com>
jpsim pushed a commit that referenced this issue Nov 29, 2022
Adds tests for the request builders similar to the ones available on master for Kotlin.

Also fixes the `Equatable` comparison of `Request` by overriding `isEqual`. This is required since this type subclasses `NSObject` to be visible to Objective-C, and we want property comparison instead of pointer comparison here.

Resolves envoyproxy/envoy-mobile#252

Signed-off-by: Michael Rebello <mrebello@lyft.com>
Signed-off-by: JP Simard <jp@jpsim.com>
krinkinmu pushed a commit to krinkinmu/envoy that referenced this issue Nov 1, 2024
…upstream

Stop envoy-sync-scheduled workflow running on forks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature requests. Not bugs or questions.
Projects
None yet
Development

No branches or pull requests

4 participants