summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Peach <jpeach@samba.org>2006-01-15 23:13:47 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:06:09 -0500
commitd67b72a0f220b5a41496498914c8e28733ced8a1 (patch)
tree4aa70ef895289f85a1d107484b5324e400d4f110
parented0c8e056d5f814f6ccc11c045a085d5698b22e3 (diff)
downloadsamba-d67b72a0f220b5a41496498914c8e28733ced8a1.tar.gz
samba-d67b72a0f220b5a41496498914c8e28733ced8a1.tar.bz2
samba-d67b72a0f220b5a41496498914c8e28733ced8a1.zip
r12953: Support the TCP_FASTACK socket option if it is available. Note that this will
not acutally help, but it is good to be complete. (This used to be commit 2163e4b6b453ebf1fefc64e74890300108bbf8f6)
-rw-r--r--source3/lib/util_sock.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/lib/util_sock.c b/source3/lib/util_sock.c
index 6562dae952..91c3305996 100644
--- a/source3/lib/util_sock.c
+++ b/source3/lib/util_sock.c
@@ -181,6 +181,9 @@ static const smb_socket_option socket_options[] = {
#ifdef SO_RCVTIMEO
{"SO_RCVTIMEO", SOL_SOCKET, SO_RCVTIMEO, 0, OPT_INT},
#endif
+#ifdef TCP_FASTACK
+ {"TCP_FASTACK", IPPROTO_TCP, TCP_FASTACK, 0, OPT_INT},
+#endif
{NULL,0,0,0,0}};
/****************************************************************************