[LON-CAPA-cvs] cvs: loncom / loncnew

foxr foxr@source.lon-capa.org
Fri, 17 Jun 2011 10:26:26 -0000


foxr		Fri Jun 17 10:26:26 2011 EDT

  Modified files:              
    /loncom	loncnew 
  Log:
  Reset londconnecting if the connection count becomes 0 in KillSocket
  
  
Index: loncom/loncnew
diff -u loncom/loncnew:1.97 loncom/loncnew:1.98
--- loncom/loncnew:1.97	Thu Jun 16 07:18:53 2011
+++ loncom/loncnew	Fri Jun 17 10:26:26 2011
@@ -2,7 +2,7 @@
 # The LearningOnline Network with CAPA
 # lonc maintains the connections to remote computers
 #
-# $Id: loncnew,v 1.97 2011/06/16 07:18:53 raeburn Exp $
+# $Id: loncnew,v 1.98 2011/06/17 10:26:26 foxr Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -772,6 +772,7 @@
     #  work queue, the work all gets failed with con_lost.
     #
     if($ConnectionCount == 0) {
+	$LondConnecting = 0;	# No connections so also not connecting.
 	EmptyQueue();
 	CloseAllLondConnections; # Should all already be closed but...
     }