diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2012-03-28 09:20:38 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2012-03-28 09:20:38 +0200 |
commit | 9c7e081f51063b6cdb4674f4d2e6c4eab502a327 (patch) | |
tree | 25c46150eee45e6ad327b2e5e92fd8802fff72a5 /include | |
parent | e440e55d45a571c221af9c1657a2006597a6b88f (diff) |
XS_KEEPALIVE options added
This option allows to turn on TCP keepalives on the underlying connections.
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/xs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/xs.h b/include/xs.h index 5c781ea..b47358b 100644 --- a/include/xs.h +++ b/include/xs.h @@ -198,6 +198,7 @@ XS_EXPORT int xs_setctxopt (void *context, int option, const void *optval, #define XS_RCVTIMEO 27 #define XS_SNDTIMEO 28 #define XS_IPV4ONLY 31 +#define XS_KEEPALIVE 32 /* Message options */ #define XS_MORE 1 |