diff options
| author | Dave McAllister <davemc@gmail.com> | 2025-08-20 09:52:15 -0700 |
|---|---|---|
| committer | Dave McAllister <davemc@gmail.com> | 2025-08-20 09:52:15 -0700 |
| commit | c8cc9247370a1d57e4f4ba4dbaaa232e81363f56 (patch) | |
| tree | ee9054cb9e8b8d986c16310b7bfc07dc531307ad /src/nxt_main_process.c | |
| parent | 32c91a67a488ff5d46357f89578a6721ba2c8ac2 (diff) | |
| parent | 1701935ea4a55f3ce4b5da5db866fc1b11558e0c (diff) | |
| download | unit-c8cc9247370a1d57e4f4ba4dbaaa232e81363f56.tar.gz unit-c8cc9247370a1d57e4f4ba4dbaaa232e81363f56.tar.bz2 | |
Merge branch 'master' of https://github.com/nginx/unit
Diffstat (limited to 'src/nxt_main_process.c')
| -rw-r--r-- | src/nxt_main_process.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nxt_main_process.c b/src/nxt_main_process.c index e942c1a8..25798ea0 100644 --- a/src/nxt_main_process.c +++ b/src/nxt_main_process.c @@ -1730,5 +1730,8 @@ nxt_main_port_access_log_handler(nxt_task_t *task, nxt_port_recv_msg_t *msg) if (nxt_fast_path(port != NULL)) { (void) nxt_port_socket_write(task, port, type, file.fd, msg->port_msg.stream, 0, NULL); + + } else { + nxt_file_close(task, &file); } } |
