Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions patch/1.21.4/lua-resty-core-init_worker_coroutine.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git lib/resty/core/coroutine.lua lib/resty/core/coroutine.lua
index 9c95b16..57cd4c7 100644
--- lib/resty/core/coroutine.lua
+++ lib/resty/core/coroutine.lua
@@ -13,7 +13,7 @@ do
local r = get_request()
if r ~= nil then
local ctx = get_raw_phase(r, errmsg)
- if ctx ~= 0x020 and ctx ~= 0x040 then
+ if ctx ~= 0x020 and ctx ~= 0x040 and ctx ~= 0x100 then
return ours(...)
end
end
13 changes: 13 additions & 0 deletions patch/1.21.4/ngx_lua-init_worker_coroutine.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git src/ngx_http_lua_coroutine.c src/ngx_http_lua_coroutine.c
index 1580c5b2..d0bc045c 100644
--- src/ngx_http_lua_coroutine.c
+++ src/ngx_http_lua_coroutine.c
@@ -358,7 +358,7 @@ ngx_http_lua_inject_coroutine_api(ngx_log_t *log, lua_State *L)
"local ctx = raw_ctx(r)\n"
#endif
/* ignore header and body filters */
- "if ctx ~= 0x020 and ctx ~= 0x040 then\n"
+ "if ctx ~= 0x020 and ctx ~= 0x040 and ctx ~= 0x100 then\n"
"return ours(...)\n"
"end\n"
"end\n"
13 changes: 13 additions & 0 deletions patch/1.27.1.1/lua-resty-core-init_worker_coroutine.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git lib/resty/core/coroutine.lua lib/resty/core/coroutine.lua
index 9c95b16..57cd4c7 100644
--- lib/resty/core/coroutine.lua
+++ lib/resty/core/coroutine.lua
@@ -13,7 +13,7 @@ do
local r = get_request()
if r ~= nil then
local ctx = get_raw_phase(r, errmsg)
- if ctx ~= 0x020 and ctx ~= 0x040 then
+ if ctx ~= 0x020 and ctx ~= 0x040 and ctx ~= 0x100 then
return ours(...)
end
end
13 changes: 13 additions & 0 deletions patch/1.27.1.1/ngx_lua-init_worker_coroutine.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git src/ngx_http_lua_coroutine.c src/ngx_http_lua_coroutine.c
index 1580c5b2..d0bc045c 100644
--- src/ngx_http_lua_coroutine.c
+++ src/ngx_http_lua_coroutine.c
@@ -358,7 +358,7 @@ ngx_http_lua_inject_coroutine_api(ngx_log_t *log, lua_State *L)
"local ctx = raw_ctx(r)\n"
#endif
/* ignore header and body filters */
- "if ctx ~= 0x020 and ctx ~= 0x040 then\n"
+ "if ctx ~= 0x020 and ctx ~= 0x040 and ctx ~= 0x100 then\n"
"return ours(...)\n"
"end\n"
"end\n"