OpenAFS CVS Commit: openafs/src/WINNT/afsd by jaltman

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Sat, 10 Mar 2007 10:48:01 EST


Update of /cvs/openafs/src/WINNT/afsd
In directory GRAND.CENTRAL.ORG:/home/jaltman/openafs/cvs-1-3/src/WINNT/afsd

Modified Files:
	cm_conn.c cm_conn.h cm_daemon.c 
Log Message:
DELTA windows-afsd-nat-handling-20070310
AUTHOR jaltman@secure-endpoints.com

Improve cache manager performance behind NATs:

 * drop cm_daemonCheckUpInterval from 10 minutes to 4 minutes to bring
   it under the minimum recommended default port mapping idle timeout
   value for NATs

 * when a timeout on an rx connection occurs, retry the request once
   after forcing a new rx connection.  If there was a NAT and the port
   mapping changed, the server would respond to the original addr:port
   associated with the rx connection.  Forcing a new connection will
   allow the request to be responded to if the server is accessible.

   This should eliminate the UP-DOWN-UP-DOWN bouncing that user's have
   seen when working from behind a NAT.  



--- DELTA config follows ---
windows-afsd-nat-handling-20070310 openafs/src/WINNT/afsd/cm_conn.c 1.61 1.62
windows-afsd-nat-handling-20070310 openafs/src/WINNT/afsd/cm_conn.h 1.19 1.20
windows-afsd-nat-handling-20070310 openafs/src/WINNT/afsd/cm_daemon.c 1.27 1.28