summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/local.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/include/local.h b/source3/include/local.h
index 85e61c63c4..c609f65342 100644
--- a/source3/include/local.h
+++ b/source3/include/local.h
@@ -173,6 +173,14 @@
#define LONG_CONNECT_TIMEOUT 30
#define SHORT_CONNECT_TIMEOUT 5
+/* default socket options. Dave Miller thinks we should default to TCP_NODELAY
+ given the socket IO pattern that Samba uses*/
+#ifdef TCP_NODELAY
+#define DEFAULT_SOCKET_OPTIONS "TCP_NODELAY"
+#else
+#define DEFAULT_SOCKET_OPTIONS ""
+#endif
+
/* the default netbios keepalive timeout */
#define DEFAULT_KEEPALIVE 300