]> git.michaelhowe.org Git - packages/o/openafs.git/commit
DEVEL15-windows-afsd-nat-handling-20070310
authorJeffrey Altman <jaltman@secure-endpoints.com>
Sat, 10 Mar 2007 15:50:07 +0000 (15:50 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Sat, 10 Mar 2007 15:50:07 +0000 (15:50 +0000)
commit41008a077e4645c77575f5993cd6f1cbb7622b18
tree12aabd00df558561e3b79afd8dbea3a8eeaff6b7
parentb320830b0127131279b51a34401bbe3cadfcda33
DEVEL15-windows-afsd-nat-handling-20070310

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.

(cherry picked from commit f1862d783a610d85a258aaee1d00aff26f348223)
src/WINNT/afsd/cm_conn.c
src/WINNT/afsd/cm_conn.h
src/WINNT/afsd/cm_daemon.c