diff options
author | Max Romanov <max.romanov@nginx.com> | 2019-03-05 15:38:49 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2019-03-05 15:38:49 +0300 |
commit | 0ab83370cb8e70a4440589051f14d99ae8cec588 (patch) | |
tree | df2039e1764cf49e9571ee0dd2109bd2db897cfb /src/nxt_errno.h | |
parent | aedb999fe19d47ca0faf91752d7be4b227c51021 (diff) | |
download | unit-0ab83370cb8e70a4440589051f14d99ae8cec588.tar.gz unit-0ab83370cb8e70a4440589051f14d99ae8cec588.tar.bz2 |
Handling ENOBUFS error same was as EAGAIN.
Unlike EAGAIN, ENOBUFS returned on OSX when trying to send many relatively
small (64 bytes) fragments.
Found during investigation of #167 issue on GitHub.
Diffstat (limited to 'src/nxt_errno.h')
-rw-r--r-- | src/nxt_errno.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nxt_errno.h b/src/nxt_errno.h index b3d7105a..e3ce8349 100644 --- a/src/nxt_errno.h +++ b/src/nxt_errno.h @@ -45,6 +45,7 @@ typedef int nxt_err_t; #define NXT_EILSEQ EILSEQ #define NXT_ETIME ETIME #define NXT_ENOMOREFILES 0 +#define NXT_ENOBUFS ENOBUFS #if (NXT_HPUX) /* HP-UX uses EWOULDBLOCK instead of EAGAIN. */ |