Update of /cvsroot/freenet/freenet/src/freenet/interfaces
In directory sc8-pr-cvs1:/tmp/cvs-serv12146/src/freenet/interfaces

Modified Files:
        FreenetConnectionRunner.java 
Log Message:
6194:
* Don't register CH in OCM if already finalized. This was causing minor problems (the 
Curus bug).
* In both FreenetConnectionRunner and OCM$ConnJob, check that the conn is open after 
configWSL, and kill the process if it isn't
* Enable selective logging in OCM
* Enable on the fly updating of logLevelDetail (untested)
* Logging


Index: FreenetConnectionRunner.java
===================================================================
RCS file: 
/cvsroot/freenet/freenet/src/freenet/interfaces/FreenetConnectionRunner.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- FreenetConnectionRunner.java        15 Aug 2003 23:22:59 -0000      1.14
+++ FreenetConnectionRunner.java        12 Sep 2003 18:03:49 -0000      1.15
@@ -130,6 +130,8 @@
                    // Some done by niois.unregister
 //                 ch.configRSL(tcpConnection.getRSL());
                    ch.configWSL(tcpConnection.getWSL());
+                   if(!ch.isOpen())
+                       throw new IOException("Conn closed after setting WSL: "+ch);
                    ch.registerOCM();
 //                 tcpConnection.getRSL().register(sock, ch);
 //                 tcpConnection.getRSL().scheduleMaintenance(ch);

_______________________________________________
cvs mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/cvs

Reply via email to