Skip to content

bugfix: mark Lua subrequests for HTTP/2 error wakeup#2508

Merged
zhuizhuhaomeng merged 4 commits into
openresty:masterfrom
tzssangglass:fix-http2-lua-subreq-error-wakeup
Jun 16, 2026
Merged

bugfix: mark Lua subrequests for HTTP/2 error wakeup#2508
zhuizhuhaomeng merged 4 commits into
openresty:masterfrom
tzssangglass:fix-http2-lua-subreq-error-wakeup

Conversation

@tzssangglass

@tzssangglass tzssangglass commented Jun 13, 2026

Copy link
Copy Markdown
Contributor

Mark capture subrequests so OpenResty's nginx core patch can distinguish Lua subrequests from native nginx subrequests such as slice.

This keeps the HTTP/2 error wakeup behavior for ngx.location.capture() without broadening it to unrelated nginx subrequests.

sister PR: openresty/openresty#1133

fix: openresty/openresty#1131

I hereby granted the copyright of the changes in this pull request
to the authors of this lua-nginx-module project.

Mark capture subrequests so OpenResty's nginx core patch can distinguish
Lua subrequests from native nginx subrequests such as slice.

This keeps the HTTP/2 error wakeup behavior for ngx.location.capture()
without broadening it to unrelated nginx subrequests.
Temporarily build against the OpenResty branch carrying the nginx patch needed
to exercise the lua_subrequest marker in CI
Temporarily build against the OpenResty branch carrying the nginx patch needed
to exercise the lua_subrequest marker in CI
@tzssangglass

Copy link
Copy Markdown
Contributor Author

@zhuizhuhaomeng zhuizhuhaomeng merged commit 09b8fe9 into openresty:master Jun 16, 2026
4 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants