summaryrefslogtreecommitdiff
path: root/source3/include/local.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-10-29 04:58:48 +0000
committerAndrew Tridgell <tridge@samba.org>2003-10-29 04:58:48 +0000
commit059181a169e17da053b04553cfb7151985b56b32 (patch)
tree5543438860627e76dcc555e7da32b68611e9668e /source3/include/local.h
parent2e46c7648b7297345e1f8871a0acca75a21bbbc3 (diff)
downloadsamba-059181a169e17da053b04553cfb7151985b56b32.tar.gz
samba-059181a169e17da053b04553cfb7151985b56b32.tar.bz2
samba-059181a169e17da053b04553cfb7151985b56b32.zip
parameterise the listen backlog in smbd and make it larger by default. A backlog of 5 is way too small these days.
(This used to be commit bbb92d2b0ea6bc10c71bed62924bfc95c11172a5)
Diffstat (limited to 'source3/include/local.h')
-rw-r--r--source3/include/local.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/include/local.h b/source3/include/local.h
index 4c3c58e14f..540365047a 100644
--- a/source3/include/local.h
+++ b/source3/include/local.h
@@ -227,4 +227,7 @@
/* Buffer size to use when printing backtraces */
#define BACKTRACE_STACK_SIZE 64
+/* size of listen() backlog in smbd */
+#define SMBD_LISTEN_BACKLOG 50
+
#endif