Update of /cvsroot/freenet/freenet/src/freenet/transport
In directory sc8-pr-cvs1:/tmp/cvs-serv14016/src/freenet/transport

Modified Files:
        tcpAddress.java tcpConnection.java 
Log Message:
6290: don't show the request box either when in simple mode.

Index: tcpAddress.java
===================================================================
RCS file: /cvsroot/freenet/freenet/src/freenet/transport/tcpAddress.java,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -w -r1.18 -r1.19
--- tcpAddress.java     31 Oct 2003 18:13:15 -0000      1.18
+++ tcpAddress.java     31 Oct 2003 19:21:19 -0000      1.19
@@ -41,7 +41,7 @@
     public boolean equals(tcpAddress tcp) {
        if(tcp == null) return false;
        if(tcp.port != port) return false;
-       if(tcp.throttleAll != throttleAll) return false;
+       if(tcpAddress.throttleAll != throttleAll) return false;
        if(host == null)
            return tcp.hostName.equals(hostName);
        else 

Index: tcpConnection.java
===================================================================
RCS file: /cvsroot/freenet/freenet/src/freenet/transport/tcpConnection.java,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -w -r1.47 -r1.48
--- tcpConnection.java  22 Oct 2003 10:45:59 -0000      1.47
+++ tcpConnection.java  31 Oct 2003 19:21:19 -0000      1.48
@@ -215,7 +215,7 @@
            if(!sock.getTcpNoDelay()) {
                if(logDEBUG)
                    Core.logger.log(this, "Disabling Nagle's Algorithm!", 
-                                   Core.logger.DEBUG);
+                                   Logger.DEBUG);
                sock.setTcpNoDelay(true);
            }
             Core.diagnostics.occurrenceContinuous("socketTime",
@@ -241,7 +241,7 @@
                // of 1 byte writes
                out = new BufferedOutputStream(nioout, streamBufferSize());
                if(logDEBUG) Core.logger.log(this, "Not throttling connection",
-                                            Core.logger.DEBUG);
+                                            Logger.DEBUG);
            } else {
                byte[] b = sock.getInetAddress().getAddress();
                
@@ -264,7 +264,7 @@
                } else {
                    if(logDEBUG)
                        Core.logger.log(this, "Throttling connection",
-                                       Core.logger.DEBUG);
+                                       Logger.DEBUG);
                    out = new BufferedOutputStream(nioout, streamBufferSize());
                    shouldThrottle = true;
                    enableThrottle();

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

Reply via email to