Update of /cvsroot/freenet/freenet/src/freenet
In directory sc8-pr-cvs1:/tmp/cvs-serv6168/src/freenet
Modified Files:
ConnectionHandler.java Version.java
Log Message:
6204:
Fix major bug in ResponseTimeEstimator that may have had significant impact on routing
estimates esp. probability.
Logging (one message that got logged a LOT and not very useful, in CH.sending())
Logging in RTE
Index: ConnectionHandler.java
===================================================================
RCS file: /cvsroot/freenet/freenet/src/freenet/ConnectionHandler.java,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -r1.158 -r1.159
--- ConnectionHandler.java 19 Sep 2003 02:20:21 -0000 1.158
+++ ConnectionHandler.java 20 Sep 2003 19:58:59 -0000 1.159
@@ -2981,17 +2981,17 @@
[EMAIL PROTECTED] whether the connection is currently sending something
*/
public final boolean sending() {
- if (!isFNP) //fcp messages can be behind trailers.
+ if (!isFNP) //fcp messages can be behind trailers.
return false;
//return sending.count() > 0;
// Don't synchronize here!
//return sendingCount > 0;
- if (logDEBUG) //don't forget these! ;)
- Core.logger.log(this, "trailingPresent="+trailingPresent+
- ",
sendingQueue.size()="+sendingQueue.size()+
- " (max "+maxSendingQueueLength+"),
sendingQueueBytes="+
- sendingQueueBytes+" (max
"+maxSendingQueueBytes+
- ") for "+this+")", Logger.DEBUG);
+// if (logDEBUG) //don't forget these! ;)
+// Core.logger.log(this, "trailingPresent="+trailingPresent+
+// ",
sendingQueue.size()="+sendingQueue.size()+
+// " (max "+maxSendingQueueLength+"),
sendingQueueBytes="+
+// sendingQueueBytes+" (max
"+maxSendingQueueBytes+
+// ") for "+this+")", Logger.DEBUG);
return trailingPresent || sendingQueue.size() > maxSendingQueueLength
|| sendingQueueBytes > maxSendingQueueBytes;
// if _that_ many, we are probably stuck, maybe because of an NIO
artifact
Index: Version.java
===================================================================
RCS file: /cvsroot/freenet/freenet/src/freenet/Version.java,v
retrieving revision 1.396
retrieving revision 1.397
diff -u -r1.396 -r1.397
--- Version.java 19 Sep 2003 20:51:13 -0000 1.396
+++ Version.java 20 Sep 2003 19:58:59 -0000 1.397
@@ -18,7 +18,7 @@
public static String protocolVersion = "1.46";
/** The build number of the current revision */
- public static final int buildNumber = 6203;
+ public static final int buildNumber = 6204;
// 6028: may 3; ARK retrieval fix
public static final int ignoreBuildsAfter = 6500;
_______________________________________________
cvs mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/cvs