Skip to content

fix: revert openresty ngx.req_body() stream process hardcode limitation#12658

Merged
dndx merged 8 commits into
masterfrom
revert-req-body
Feb 29, 2024
Merged

fix: revert openresty ngx.req_body() stream process hardcode limitation#12658
dndx merged 8 commits into
masterfrom
revert-req-body

Conversation

@oowl

@oowl oowl commented Feb 28, 2024

Copy link
Copy Markdown
Member

Summary

Revert the hard-coded limitation of the ngx.read_body() API in OpenResty upstreams' new versions when downstream connections are in HTTP/2 and HTTP/3 stream modes.

upstream: openresty/lua-nginx-module#2286

Checklist

Issue reference

FTI-5766 FTI-5795

@oowl
oowl marked this pull request as draft February 28, 2024 05:21
Comment thread t/04-patch/02-ngx-read-body-block.t Outdated
Comment thread t/04-patch/02-ngx-read-body-block.t
Comment thread t/04-patch/02-ngx-read-body-block.t
@VicYP
VicYP requested a review from dndx February 28, 2024 13:30
Comment thread changelog/unreleased/kong/revert-req-body-limitation-patch.yml Outdated
@oowl
oowl requested a review from chronolaw February 29, 2024 02:46
@dndx
dndx merged commit 55358df into master Feb 29, 2024
@dndx
dndx deleted the revert-req-body branch February 29, 2024 08:05
@oowl oowl added the cherry-pick kong-ee schedule this PR for cherry-picking to kong/kong-ee label Feb 29, 2024
@team-gateway-bot

Copy link
Copy Markdown
Collaborator

github-actions Bot pushed a commit that referenced this pull request Feb 29, 2024
…oding limitation (#12658)

Cherry picked from openresty/lua-nginx-module#2286.

It was acknowledged by OpenResty as a mistaken breaking change, and
we should revert it.

FTI-5766
FTI-5795

(cherry picked from commit 55358df)
@team-gateway-bot

Copy link
Copy Markdown
Collaborator

'git push --set-upstream upstream cherry-pick-12658-to-master-to-upstream' failed with exit code 1

@team-gateway-bot

Copy link
Copy Markdown
Collaborator

windmgc pushed a commit that referenced this pull request Mar 1, 2024
…oding limitation (#12658)

Cherry picked from openresty/lua-nginx-module#2286.

It was acknowledged by OpenResty as a mistaken breaking change, and
we should revert it.

FTI-5766
FTI-5795

(cherry picked from commit 55358df)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build/bazel cherry-pick kong-ee schedule this PR for cherry-picking to kong/kong-ee size/L

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants