--- loncom/loncnew 2004/08/30 11:01:04 1.52 +++ loncom/loncnew 2004/09/20 09:34:31 1.53 @@ -2,7 +2,7 @@ # The LearningOnline Network with CAPA # lonc maintains the connections to remote computers # -# $Id: loncnew,v 1.52 2004/08/30 11:01:04 foxr Exp $ +# $Id: loncnew,v 1.53 2004/09/20 09:34:31 foxr Exp $ # # Copyright Michigan State University Board of Trustees # @@ -310,6 +310,7 @@ sub Tick { if($IdleSeconds > $IdleTimeout) { # Prune a connection... my $Socket = $IdleConnections->pop(); KillSocket($Socket); + IdleSeconds = 0; # Otherwise all connections get trimmed to fast. } } else { $IdleSeconds = 0; # Reset idle count if not idle.