Skip to content

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

Open
tzssangglass wants to merge 4 commits into
openresty:masterfrom
tzssangglass:fix-http2-lua-subreq-error-wakeup
Open

bugfix: mark Lua subrequests for HTTP/2 error wakeup#2508
tzssangglass wants to merge 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant