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

raeburn raeburn at source.lon-capa.org
Sat Jan 11 20:21:34 EST 2020


raeburn		Sun Jan 12 01:21:34 2020 EDT

  Modified files:              
    /loncom	loncnew 
  Log:
  - Reverse change in rev. 1.102.
   - the HostID of the peer is included in the string returned by:
     $Transaction->getRequest().
   - for a deferred transaction, the value of $Transaction->getClient() will 
     be undef.
  
  
Index: loncom/loncnew
diff -u loncom/loncnew:1.108 loncom/loncnew:1.109
--- loncom/loncnew:1.108	Fri Dec 14 02:05:38 2018
+++ loncom/loncnew	Sun Jan 12 01:21:33 2020
@@ -2,7 +2,7 @@
 # The LearningOnline Network with CAPA
 # lonc maintains the connections to remote computers
 #
-# $Id: loncnew,v 1.108 2018/12/14 02:05:38 raeburn Exp $
+# $Id: loncnew,v 1.109 2020/01/12 01:21:33 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -614,7 +614,7 @@
 	StartClientReply($Transaction, $data);
     } else {			# Delete deferred transaction file.
 	Log("SUCCESS", "A delayed transaction was completed");
-	LogPerm("S:".$Socket->PeerLoncapaHim().":".$Transaction->getRequest());
+	LogPerm("S:".$Transaction->getClient().":".$Transaction->getRequest());
 	unlink($Transaction->getFile());
     }
 }




More information about the LON-CAPA-cvs mailing list