windows-rx-idle-timeout-20080428
authorJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 28 Apr 2008 16:04:38 +0000 (16:04 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 28 Apr 2008 16:04:38 +0000 (16:04 +0000)
commit2f2d5fd8a7e80802fead9ee944e33c1a0c818abd
tree618545454ea1bd34261859469aa7b13c7cda6747
parent7a6751c08800da5d49bf3def9175174499f6337e
windows-rx-idle-timeout-20080428

LICENSE MIT

Add "IdleDeadTimeout" registry value and call rx_SetConnIdleDeadTime()
with it when creating new rx connections.   This forces the Rx stack
to return RX_CALL_TIMEOUT if the file server has returned VBUSY for
longer than the IdleDeadTimeout.

When RX_CALL_TIMEOUT is received, the cache manager will now attempt to
find another server for the object that might be less busy.
src/WINNT/afsd/cm_conn.c
src/WINNT/afsd/cm_conn.h