diff options
author | Sergey Kandaurov <pluknet@nginx.com> | 2023-01-02 17:10:22 +0400 |
---|---|---|
committer | Sergey Kandaurov <pluknet@nginx.com> | 2023-01-02 17:10:22 +0400 |
commit | f5aa66bd309a4cbec67285770c77db5d33347c27 (patch) | |
tree | 33899e3a8bbc6f2196b4afbaa9999c3ff814d4dc /src | |
parent | a1bb12e14ee86fdac2877c3a834b604f5bc522ae (diff) | |
parent | 9c7a2c7ce4ad02a36df1bb0ee5e40a84610fffb9 (diff) | |
download | nginx-f5aa66bd309a4cbec67285770c77db5d33347c27.tar.gz nginx-f5aa66bd309a4cbec67285770c77db5d33347c27.zip |
Merged with the default branch.
Diffstat (limited to 'src')
-rw-r--r-- | src/core/nginx.h | 4 | ||||
-rw-r--r-- | src/core/ngx_conf_file.c | 4 | ||||
-rw-r--r-- | src/core/ngx_connection.c | 2 | ||||
-rw-r--r-- | src/event/ngx_event_udp.c | 2 | ||||
-rw-r--r-- | src/event/quic/ngx_event_quic_udp.c | 2 | ||||
-rw-r--r-- | src/http/ngx_http_core_module.c | 2 | ||||
-rw-r--r-- | src/mail/ngx_mail_core_module.c | 2 | ||||
-rw-r--r-- | src/os/unix/ngx_udp_sendmsg_chain.c | 2 | ||||
-rw-r--r-- | src/stream/ngx_stream_core_module.c | 2 |
9 files changed, 11 insertions, 11 deletions
diff --git a/src/core/nginx.h b/src/core/nginx.h index f4e9d7c91..f26c6181a 100644 --- a/src/core/nginx.h +++ b/src/core/nginx.h @@ -9,8 +9,8 @@ #define _NGINX_H_INCLUDED_ -#define nginx_version 1023003 -#define NGINX_VERSION "1.23.3" +#define nginx_version 1023004 +#define NGINX_VERSION "1.23.4" #define NGINX_VER "nginx/" NGINX_VERSION #ifdef NGX_BUILD diff --git a/src/core/ngx_conf_file.c b/src/core/ngx_conf_file.c index fec7bb83a..197704b0f 100644 --- a/src/core/ngx_conf_file.c +++ b/src/core/ngx_conf_file.c @@ -544,8 +544,8 @@ ngx_conf_read_token(ngx_conf_t *cf) } ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, - "unexpected end of file, " - "expecting \";\" or \"}\""); + "unexpected end of file, " + "expecting \";\" or \"}\""); return NGX_ERROR; } diff --git a/src/core/ngx_connection.c b/src/core/ngx_connection.c index cbd5803be..57c5a8aa1 100644 --- a/src/core/ngx_connection.c +++ b/src/core/ngx_connection.c @@ -656,7 +656,7 @@ ngx_open_listening_sockets(ngx_cycle_t *cycle) /* * on OpenVZ after suspend/resume EADDRINUSE * may be returned by listen() instead of bind(), see - * https://bugzilla.openvz.org/show_bug.cgi?id=2470 + * https://bugs.openvz.org/browse/OVZ-5587 */ if (err != NGX_EADDRINUSE || !ngx_test_config) { diff --git a/src/event/ngx_event_udp.c b/src/event/ngx_event_udp.c index a7fa38aa8..ec86fdfbc 100644 --- a/src/event/ngx_event_udp.c +++ b/src/event/ngx_event_udp.c @@ -81,7 +81,7 @@ ngx_event_recvmsg(ngx_event_t *ev) msg.msg_controllen = sizeof(msg_control); ngx_memzero(&msg_control, sizeof(msg_control)); - } + } #endif n = recvmsg(lc->fd, &msg, 0); diff --git a/src/event/quic/ngx_event_quic_udp.c b/src/event/quic/ngx_event_quic_udp.c index db6377371..f7253a27d 100644 --- a/src/event/quic/ngx_event_quic_udp.c +++ b/src/event/quic/ngx_event_quic_udp.c @@ -79,7 +79,7 @@ ngx_quic_recvmsg(ngx_event_t *ev) msg.msg_controllen = sizeof(msg_control); ngx_memzero(&msg_control, sizeof(msg_control)); - } + } #endif n = recvmsg(lc->fd, &msg, 0); diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c index e988a4ca7..21966e698 100644 --- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c @@ -4313,7 +4313,7 @@ ngx_http_core_listen(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) for (i = 0; i < n; i++) { if (ngx_cmp_sockaddr(u.addrs[n].sockaddr, u.addrs[n].socklen, - u.addrs[i].sockaddr, u.addrs[i].socklen, 0) + u.addrs[i].sockaddr, u.addrs[i].socklen, 1) == NGX_OK) { goto next; diff --git a/src/mail/ngx_mail_core_module.c b/src/mail/ngx_mail_core_module.c index 75a2155db..487c5de8d 100644 --- a/src/mail/ngx_mail_core_module.c +++ b/src/mail/ngx_mail_core_module.c @@ -572,7 +572,7 @@ ngx_mail_core_listen(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) for (i = 0; i < n; i++) { if (ngx_cmp_sockaddr(u.addrs[n].sockaddr, u.addrs[n].socklen, - u.addrs[i].sockaddr, u.addrs[i].socklen, 0) + u.addrs[i].sockaddr, u.addrs[i].socklen, 1) == NGX_OK) { goto next; diff --git a/src/os/unix/ngx_udp_sendmsg_chain.c b/src/os/unix/ngx_udp_sendmsg_chain.c index e9e6f7091..fa917b569 100644 --- a/src/os/unix/ngx_udp_sendmsg_chain.c +++ b/src/os/unix/ngx_udp_sendmsg_chain.c @@ -335,7 +335,7 @@ ngx_get_srcaddr_cmsg(struct cmsghdr *cmsg, struct sockaddr *local_sockaddr) #endif - #if (NGX_HAVE_IP_RECVDSTADDR) +#if (NGX_HAVE_IP_RECVDSTADDR) if (cmsg->cmsg_level == IPPROTO_IP && cmsg->cmsg_type == IP_RECVDSTADDR diff --git a/src/stream/ngx_stream_core_module.c b/src/stream/ngx_stream_core_module.c index b0d297c3f..9be1a71cd 100644 --- a/src/stream/ngx_stream_core_module.c +++ b/src/stream/ngx_stream_core_module.c @@ -919,7 +919,7 @@ ngx_stream_core_listen(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) for (i = 0; i < n; i++) { if (ngx_cmp_sockaddr(u.addrs[n].sockaddr, u.addrs[n].socklen, - u.addrs[i].sockaddr, u.addrs[i].socklen, 0) + u.addrs[i].sockaddr, u.addrs[i].socklen, 1) == NGX_OK) { goto next; |