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

foxr foxr@source.lon-capa.org
Tue, 25 Jan 2011 11:02:35 -0000


foxr		Tue Jan 25 11:02:35 2011 EDT

  Modified files:              
    /loncom	loncnew 
  Log:
  Improve comment that describes why no action is taken on errors in write
  to client socket.
  
  
Index: loncom/loncnew
diff -u loncom/loncnew:1.95 loncom/loncnew:1.96
--- loncom/loncnew:1.95	Mon Jan 24 11:02:32 2011
+++ loncom/loncnew	Tue Jan 25 11:02:35 2011
@@ -2,7 +2,7 @@
 # The LearningOnline Network with CAPA
 # lonc maintains the connections to remote computers
 #
-# $Id: loncnew,v 1.95 2011/01/24 11:02:32 foxr Exp $
+# $Id: loncnew,v 1.96 2011/01/25 11:02:35 foxr Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -559,7 +559,8 @@
 	    if($errno == POSIX::EWOULDBLOCK   ||
 	       $errno == POSIX::EAGAIN        ||
 	       $errno == POSIX::EINTR) {
-		# No action taken?
+		# No action taken...the socket will be writable firing the event again
+		# which will result in a retry of the write.
 	    } else {		# Unanticipated errno.
 		&Debug(5,"ClientWritable error or peer shutdown".$RemoteHost);
 		$Watcher->cancel;	# Stop the watcher.