diff options
author | Björn Jacke <bj@sernet.de> | 2011-11-15 19:12:02 +0100 |
---|---|---|
committer | Bjoern Jacke <bj@sernet.de> | 2011-11-15 21:00:07 +0100 |
commit | 383a918322c1edd1977fdbce19e52e8c8e6ffac1 (patch) | |
tree | 7cf935b8040577407a2c9c1d76fa69976f9fb750 /lib/util | |
parent | 31cd1fbd2b1c2d1635662688e979bb5baa992855 (diff) | |
download | samba-383a918322c1edd1977fdbce19e52e8c8e6ffac1.tar.gz samba-383a918322c1edd1977fdbce19e52e8c8e6ffac1.tar.bz2 samba-383a918322c1edd1977fdbce19e52e8c8e6ffac1.zip |
s3: allow to set TCP_NODELAYACK socket option on AIX
this is the AIX way to disable delayed ACKs, the same like TCP_QUICKACK on
Linux
Autobuild-User: Björn Jacke <bj@sernet.de>
Autobuild-Date: Tue Nov 15 21:00:07 CET 2011 on sn-devel-104
Diffstat (limited to 'lib/util')
-rw-r--r-- | lib/util/util_net.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/util/util_net.c b/lib/util/util_net.c index 139c9d42bc..1f6ecdd87b 100644 --- a/lib/util/util_net.c +++ b/lib/util/util_net.c @@ -803,6 +803,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 |