-
Notifications
You must be signed in to change notification settings - Fork 594
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
request response buffering options #1016
Conversation
Codecov Report
@@ Coverage Diff @@
## next #1016 +/- ##
==========================================
+ Coverage 49.56% 49.78% +0.22%
==========================================
Files 32 32
Lines 3198 3224 +26
==========================================
+ Hits 1585 1605 +20
- Misses 1483 1487 +4
- Partials 130 132 +2
Continue to review full report at Codecov.
|
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.
Another case like https://github.com/Kong/kubernetes-ingress-controller/blob/1.1.0/internal/ingress/controller/parser/kongstate/route_test.go#L175-L192 (items are original route, KongIngress, expected route after override) will handle testing the new KongIngress logic. Otherwise LGTM
75a5e47
to
a42e61b
Compare
26ca6a6
to
a42e61b
Compare
a42e61b
to
c2fdebb
Compare
@Kong/team-k8s This actually wouldn't work in traditional/hybrid mode of kong: Kong/deck#260 |
I've assigned that one to me and I'll dig in. |
@shaneutt Is there any update on this as I am facing the same issue?
I have installed a custom plugin (to my Kong docker image) that injects a Cookie response header to the client in every response (on a specific route).
The flow of request/response is like this: |
If you use the annotation route (rather than the CRD) then the annotations should be The output you showed above is coming from the Kong Proxy (e.g. https://github.com/kong/kong as opposed to this ingress controller) on this line: https://github.com/Kong/kong/blob/master/kong/init.lua#L840 This is telling you that v2 HTTP requests are involved, but not compatible with this feature. As per the original PR for This is specific to HTTP v1.1 chunked encoding. Going forward I don't think communicating via the comments in this old PR is ideal: If you need further guidance on this I would recommend opening a discussion thread for assistance either in
Let me know if the information above is helpful to you, and do feel free to open a thread if you need further assistance. |
@shaneutt Make sense. Thanks for the inputs. I will open a new thread |
Sounds good. If you end up needing any help with the Kubernetes components too let us know 🖖 |
What this PR does / why we need it:
Add options to
KongIngress
and ingress annotations forrequest_buffering
andresponse_buffering
options.Which issue this PR fixes
fixes #924