diff options
author | Igor Sysoev <igor@sysoev.ru> | 2017-08-26 13:37:39 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2017-08-26 13:37:39 +0300 |
commit | 897b860e832c9eba67ba7d01d0775f64ade132f6 (patch) | |
tree | 0bb0d98401a7e8c30e338bc8518c92633b9a8c73 /src/nxt_socket.h | |
parent | 1a6036d0227b167c8ac85d3d65a6f60223276367 (diff) | |
download | unit-897b860e832c9eba67ba7d01d0775f64ade132f6.tar.gz unit-897b860e832c9eba67ba7d01d0775f64ade132f6.tar.bz2 |
Introduced nxt_socket_defer_accept().
Diffstat (limited to '')
-rw-r--r-- | src/nxt_socket.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nxt_socket.h b/src/nxt_socket.h index ec9d058c..42ef6c53 100644 --- a/src/nxt_socket.h +++ b/src/nxt_socket.h @@ -94,6 +94,8 @@ 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, nxt_uint_t level, nxt_uint_t sockopt); NXT_EXPORT nxt_int_t nxt_socket_setsockopt(nxt_task_t *task, nxt_socket_t s, |