diff options
author | Igor Sysoev <igor@sysoev.ru> | 2020-06-23 14:16:43 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2020-06-23 14:16:43 +0300 |
commit | f671d1bc54d6db164cf4b03a9ef0e1ddcdd39c72 (patch) | |
tree | c3369a0520e1ce1e37546032bb04b382e2884948 /src/nxt_socket.h | |
parent | f8ba5d6c0093090e81819481e523af5fd27ab1e3 (diff) | |
download | unit-f671d1bc54d6db164cf4b03a9ef0e1ddcdd39c72.tar.gz unit-f671d1bc54d6db164cf4b03a9ef0e1ddcdd39c72.tar.bz2 |
Decreased level of some socket close() errors.
Diffstat (limited to 'src/nxt_socket.h')
-rw-r--r-- | src/nxt_socket.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_socket.h b/src/nxt_socket.h index e39d8e4d..718ad398 100644 --- a/src/nxt_socket.h +++ b/src/nxt_socket.h @@ -93,7 +93,6 @@ typedef union { NXT_EXPORT nxt_socket_t nxt_socket_create(nxt_task_t *task, nxt_uint_t family, nxt_uint_t type, nxt_uint_t protocol, nxt_uint_t flags); -NXT_EXPORT void nxt_socket_close(nxt_task_t *task, nxt_socket_t s); NXT_EXPORT void nxt_socket_defer_accept(nxt_task_t *task, nxt_socket_t s, nxt_sockaddr_t *sa); NXT_EXPORT nxt_int_t nxt_socket_getsockopt(nxt_task_t *task, nxt_socket_t s, @@ -106,6 +105,7 @@ NXT_EXPORT nxt_int_t nxt_socket_connect(nxt_task_t *task, nxt_socket_t s, nxt_sockaddr_t *sa); NXT_EXPORT void nxt_socket_shutdown(nxt_task_t *task, nxt_socket_t s, nxt_uint_t how); +NXT_EXPORT void nxt_socket_close(nxt_task_t *task, nxt_socket_t s); nxt_err_t nxt_socket_error(nxt_socket_t s); nxt_uint_t nxt_socket_error_level(nxt_err_t err); |