OpenAFS Master Repository branch, master, updated. 2ade93993a9a82a23f44355065e2b5573acca372
Gerrit Code Review
gerrit@openafs.org
Wed, 29 Jul 2009 14:00:11 -0700 (PDT)
The following commit has been merged in the master branch:
commit 2ade93993a9a82a23f44355065e2b5573acca372
Author: Jeffrey Altman <jaltman@secure-endpoints.com>
Date: Wed Jul 29 14:31:45 2009 -0400
Windows: test for and react to SMB Extended Session Timeout support
SMB Extended Session Timeout Support is available only on
Windows systems with specific versions of the mrxsmb.sys driver.
Add a test for those driver versions. If a supporting version
is present use the extended session timeout value instead of the
standard timeout value for the redirector timeout. Adjust the
rx hard, conn, and idle timeouts accordingly.
The SMB module will define the ExtendedSessTimeout registry
value if it does not exist. We rely on the fact that this is
done after the rx timeout values are calculated. The mrxsmb
driver only reads the value at boot.
LICENSE MIT
Reviewed-on: http://gerrit.openafs.org/248
Tested-by: Jeffrey Altman <jaltman@openafs.org>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Reviewed-by: Asanka Herath <asanka@secure-endpoints.com>
Tested-by: Asanka Herath <asanka@secure-endpoints.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/WINNT/afsd/cm_conn.c | 54 ++++++++++++---
src/WINNT/afsd/cm_conn.h | 6 ++
src/WINNT/afsd/cm_utils.c | 177 +++++++++++++++++++++++++++++++++++++++++++++
src/WINNT/afsd/cm_utils.h | 4 +
src/WINNT/afsd/smb.c | 7 ++-
5 files changed, 237 insertions(+), 11 deletions(-)
--
OpenAFS Master Repository