summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2011-10-12 14:00:32 -0700
committerStefan Metzmacher <metze@samba.org>2011-10-13 12:22:23 +0200
commitd2a9e8df35be1516f22f0ef78356de6d4b02d4d3 (patch)
tree1026413b3274eda0507f015f634690e32ce56ae8 /source3/include
parent5dcce64bbd64d1fbc81fa1135e77c87316691017 (diff)
downloadsamba-d2a9e8df35be1516f22f0ef78356de6d4b02d4d3.tar.gz
samba-d2a9e8df35be1516f22f0ef78356de6d4b02d4d3.tar.bz2
samba-d2a9e8df35be1516f22f0ef78356de6d4b02d4d3.zip
Another part of the fix for Bug 8473 - smb2_find uses a hard coded max reply size of 0x10000 instead of smb2_max_trans.
Change the defaults and the documentation to reflect the 64k limit. Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Oct 13 12:22:23 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/local.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/include/local.h b/source3/include/local.h
index d71a72c2e5..203f257dca 100644
--- a/source3/include/local.h
+++ b/source3/include/local.h
@@ -232,9 +232,9 @@
#define CLIENT_NDR_PADDING_SIZE 8
#define SERVER_NDR_PADDING_SIZE 8
-#define DEFAULT_SMB2_MAX_READ (1024*1024)
-#define DEFAULT_SMB2_MAX_WRITE (1024*1024)
-#define DEFAULT_SMB2_MAX_TRANSACT (1024*1024)
+#define DEFAULT_SMB2_MAX_READ (64*1024)
+#define DEFAULT_SMB2_MAX_WRITE (64*1024)
+#define DEFAULT_SMB2_MAX_TRANSACT (64*1024)
#define DEFAULT_SMB2_MAX_CREDITS 8192
#define DEFAULT_SMB2_MAX_CREDIT_BITMAP_FACTOR 2