From 95755d36d3dd8b7a0cc9d85a578249ae2b3cb5a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Jacke?= Date: Fri, 18 Nov 2011 13:40:17 +0100 Subject: [PATCH] s3: allow to set TCP_NODELAYACK socket option on AIX (#8616) this is the AIX way to disable delayed ACKs, the same like TCP_QUICKACK on Linux this is a backport of 383a918322c1edd1977fdbce19e52e8c8e6ffac1 --- source3/lib/util_sock.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/source3/lib/util_sock.c b/source3/lib/util_sock.c index 6ba1ab9..40e6e04 100644 --- a/source3/lib/util_sock.c +++ b/source3/lib/util_sock.c @@ -137,6 +137,9 @@ static const smb_socket_option socket_options[] = { #ifdef TCP_QUICKACK {"TCP_QUICKACK", IPPROTO_TCP, TCP_QUICKACK, 0, OPT_BOOL}, #endif +#ifdef TCP_NODELAYACK + {"TCP_NODELAYACK", IPPROTO_TCP, TCP_NODELAYACK, 0, OPT_BOOL}, +#endif #ifdef TCP_KEEPALIVE_THRESHOLD {"TCP_KEEPALIVE_THRESHOLD", IPPROTO_TCP, TCP_KEEPALIVE_THRESHOLD, 0, OPT_INT}, #endif -- 1.7.6