summaryrefslogtreecommitdiff
path: root/source3/smbd/globals.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-06-27 15:33:43 +0200
committerStefan Metzmacher <metze@samba.org>2012-06-29 00:14:55 +0200
commit648b959b13224105addaae483823bc422ed1cc21 (patch)
tree99e16b0dbcd193d9e25ff2db7f2b0a5e5d7ae469 /source3/smbd/globals.h
parent82dc0b33b9af5094d78f3ecd855900e49c580343 (diff)
downloadsamba-648b959b13224105addaae483823bc422ed1cc21.tar.gz
samba-648b959b13224105addaae483823bc422ed1cc21.tar.bz2
samba-648b959b13224105addaae483823bc422ed1cc21.zip
s3:smb2_server: implement credit granting similar to windows
This makes it much easier to compare traces. metze
Diffstat (limited to 'source3/smbd/globals.h')
-rw-r--r--source3/smbd/globals.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/smbd/globals.h b/source3/smbd/globals.h
index 9512d05735..b93b373ca5 100644
--- a/source3/smbd/globals.h
+++ b/source3/smbd/globals.h
@@ -673,6 +673,9 @@ struct smbd_server_connection {
* The maximum number of credits we will ever
* grant to the client.
*
+ * Typically we will only grant 1/16th of
+ * max_credits.
+ *
* This is the "server max credits" parameter.
*/
uint16_t max_credits;