The branch, master has been updated via 52063e9 s3:libsmb: Set a max charge for SMB2 connections from 5c26a01 smbcontrol: Fix a typo
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit 52063e90dd59492551c12df81ab8f68973f78cd7 Author: Ross Lagerwall <rosslagerw...@gmail.com> Date: Thu Aug 21 07:32:36 2014 +0100 s3:libsmb: Set a max charge for SMB2 connections Set a max charge for SMB2 connections so that larger request sizes can be used and more requests can be in flight. Signed-off-by: Ross Lagerwall <rosslagerw...@gmail.com> Reviewed-by: Stefan Metzmacher <me...@samba.org> Reviewed-by: Andreas Schneider <a...@samba.org> Autobuild-User(master): Andreas Schneider <a...@cryptomilk.org> Autobuild-Date(master): Thu Aug 21 17:31:11 CEST 2014 on sn-devel-104 ----------------------------------------------------------------------- Summary of changes: source3/libsmb/libsmb_server.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) Changeset truncated at 500 lines: diff --git a/source3/libsmb/libsmb_server.c b/source3/libsmb/libsmb_server.c index 3b7214c..d89b9ec 100644 --- a/source3/libsmb/libsmb_server.c +++ b/source3/libsmb/libsmb_server.c @@ -459,6 +459,11 @@ SMBC_server_internal(TALLOC_CTX *ctx, return NULL; } + if (smbXcli_conn_protocol(c->conn) >= PROTOCOL_SMB2_02) { + /* Ensure we ask for some initial credits. */ + smb2cli_conn_set_max_credits(c->conn, DEFAULT_SMB2_MAX_CREDITS); + } + username_used = *pp_username; if (!NT_STATUS_IS_OK(cli_session_setup(c, username_used, -- Samba Shared Repository