diff src/os/win32/ngx_errno.h @ 9227:37ef53ecd6b0

Adjusted ENOBUFS logging level. On local datagram sockets ENOBUFS might legitimately appear due to insufficient space in socket buffers, as seen on BSD systems. Accordingly, ngx_connection_error() now logs it with logging level set for the particular connection errors, either "info" or "error" (instead of "alert", which was previously used).
author Maxim Dounin <mdounin@mdounin.ru>
date Fri, 01 Mar 2024 05:42:22 +0300
parents 58afcd72446f
children
line wrap: on
line diff
--- a/src/os/win32/ngx_errno.h
+++ b/src/os/win32/ngx_errno.h
@@ -58,6 +58,7 @@ typedef DWORD                      ngx_e
 #define NGX_ELOOP                  0
 #define NGX_EBADF                  WSAEBADF
 #define NGX_EMSGSIZE               WSAEMSGSIZE
+#define NGX_ENOBUFS                WSAENOBUFS
 
 #define NGX_EALREADY               WSAEALREADY
 #define NGX_EINVAL                 WSAEINVAL