Mercurial > hg > nginx
comparison src/os/unix/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 |
comparison
equal
deleted
inserted
replaced
9226:c769217b4a5c | 9227:37ef53ecd6b0 |
---|---|
53 #define NGX_EILSEQ EILSEQ | 53 #define NGX_EILSEQ EILSEQ |
54 #define NGX_ENOMOREFILES 0 | 54 #define NGX_ENOMOREFILES 0 |
55 #define NGX_ELOOP ELOOP | 55 #define NGX_ELOOP ELOOP |
56 #define NGX_EBADF EBADF | 56 #define NGX_EBADF EBADF |
57 #define NGX_EMSGSIZE EMSGSIZE | 57 #define NGX_EMSGSIZE EMSGSIZE |
58 #define NGX_ENOBUFS ENOBUFS | |
58 | 59 |
59 #if (NGX_HAVE_OPENAT) | 60 #if (NGX_HAVE_OPENAT) |
60 #define NGX_EMLINK EMLINK | 61 #define NGX_EMLINK EMLINK |
61 #endif | 62 #endif |
62 | 63 |