Windows: prevent infinite idle error response
authorJeffrey Altman <jaltman@your-file-system.com>
Sun, 18 Apr 2010 11:38:27 +0000 (12:38 +0100)
committerJeffrey Altman <jaltman@openafs.org>
Sun, 18 Apr 2010 17:52:38 +0000 (10:52 -0700)
commit2beda68d4ad84e3e853a320bfb9d610b33f77902
tree228e48fc902402ca1b100cac5ae82264078555c1
parent1239acfb44d13d92b38b8b0c95ec5c480a4e2253
Windows: prevent infinite idle error response

The idle error value (if any) is stored in the cm_req_t object.
Since the value is never cleared, the same value can be returned
for all requests that make use of the same cm_req_t object.

Change the behavior to only return an idle error once and then
clear it.

LICENSE MIT

Change-Id: Iac9ff8e56e856c2f0e440a34ac39ccd68de37c77
Reviewed-on: http://gerrit.openafs.org/1773
Reviewed-by: Asanka Herath <asanka@secure-endpoints.com>
Tested-by: Asanka Herath <asanka@secure-endpoints.com>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
src/WINNT/afsd/cm_conn.c