windows-restrict-timeouts-to-cifs-20060808
authorJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 8 Aug 2006 17:36:48 +0000 (17:36 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 8 Aug 2006 17:36:48 +0000 (17:36 +0000)
commit09020663fad32a30cec3f425d6dee7807799eadb
treeb509ff1bbc4d356a6d7cb0772d250abc1ccbf59a
parentf45d2d8e67e43faf3442031e29c681d24db10824
windows-restrict-timeouts-to-cifs-20060808

If afsd takes longer than the cifs timeout to complete an operation
the cifs client may break the virtual circuit and create a new one.
this forces all file handles to be closed and locks to be released.
Try to prevent the circuit from being destroyed by allowing the
CIFS lanmanworkstation SessTimeout value to enforce upper limits
on the Conn and Hard Dead Timeouts.   Permit this automatic configuration
to be disabled by setting specific configuration values for timeouts
in the registry.
src/WINNT/afsd/afsd_init.c
src/WINNT/afsd/cm_conn.c
src/WINNT/afsd/cm_conn.h