upgrade nginx core to 1.23.0. (#839)

This commit is contained in:
lijunlong
2022-06-27 15:17:19 +08:00
committed by GitHub
parent 37fe0d4314
commit ae42a6bd86
35 changed files with 2788 additions and 0 deletions

View File

@ -0,0 +1,12 @@
diff --git a/src/os/unix/ngx_daemon.c b/src/os/unix/ngx_daemon.c
index ab672110..f259af31 100644
--- a/src/os/unix/ngx_daemon.c
+++ b/src/os/unix/ngx_daemon.c
@@ -23,6 +23,8 @@ ngx_daemon(ngx_log_t *log)
break;
default:
+ /* just to make it ASAN or Valgrind clean */
+ ngx_destroy_pool(ngx_cycle->pool);
exit(0);
}