feature: add patches for nginx-1.27.1. (#999)

This commit is contained in:
lijunlong
2024-08-16 21:50:43 +08:00
committed by GitHub
parent 2d1e490fa0
commit 9fb4098d72
39 changed files with 2877 additions and 0 deletions

View File

@ -0,0 +1,12 @@
--- a/src/core/ngx_thread_pool.c
+++ b/src/core/ngx_thread_pool.c
@@ -587,7 +587,8 @@
ngx_thread_pool_conf_t *tcf;
if (ngx_process != NGX_PROCESS_WORKER
- && ngx_process != NGX_PROCESS_SINGLE)
+ && ngx_process != NGX_PROCESS_SINGLE
+ && !ngx_is_privileged_agent)
{
return NGX_OK;
}