[THREESCALE-9542] Part 2: Add support to proxy request with Transfer-Encoding: chunked - #1403
Merged
Merged
Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What:
Fix https://issues.redhat.com/browse/THREESCALE-9542
This PR adds support to proxy the request with "Transfer-Encoding: chunked" when using with the proxy server.
Note to reviewers
Please just review the last 2 commits. I will rebase once part 1 merged
Verification steps:
Checkout this branch
Make runtime-image IMAGE_NAME=apicast-test
cd dev-environments/https-proxy-upstream-tlsv1.3 make certs make gateway IMAGE_NAME=apicast-testThe request should return 200 OK. Note that upstream echo API is reporting that the request included
Transfer-Encoding: chunkedheader and the expected body.Details
First get the APICast IPAddress
Replace
127.0.0.1with the IP of APIcast gateway aboveDetails