Update of /cvsroot/freenet/freenet/src/freenet/client/http
In directory sc8-pr-cvs1:/tmp/cvs-serv31167/src/freenet/client/http

Modified Files:
        FproxyServlet.java HttpServletRunner.java 
Log Message:
6251:
Fix occasional NPE in ConnectionHandler.
Changes to the README and the warning fproxy sends when it detect Internet Explorer, 
mostly w.r.t. Opera. Contributed by an untraceable individual who wishes to remain 
nameless.
Add logOverwrite config parameter.
Make the default insert key CHK@ and the default HTL 25.
Tyop fixes in comments.
Logging, toString(), indenting.


Index: FproxyServlet.java
===================================================================
RCS file: /cvsroot/freenet/freenet/src/freenet/client/http/FproxyServlet.java,v
retrieving revision 1.107
retrieving revision 1.108
diff -u -w -r1.107 -r1.108
--- FproxyServlet.java  18 Sep 2003 17:48:05 -0000      1.107
+++ FproxyServlet.java  16 Oct 2003 01:03:58 -0000      1.108
@@ -337,7 +337,7 @@
                            PrintWriter pw = new PrintWriter(sw);
                            setNoCache(resp);
                            
-                           pw.println("Freenet has determined that you are using 
Internet Explorer.  Please be aware that Internet Explorer treats contents in a manner 
that makes it impossible for us to protect your anonymity while browsing Freenet using 
this browser.  We recommend that you use a browser that does not do this, for example, 
Mozilla, K-Meleon, Phoenix, Lynx, Links, Amaya, or Arena.");
+                           pw.println("Freenet has determined that you are using 
Internet Explorer. Please be aware that Internet Explorer treats contents in a manner 
that makes it impossible for us to protect your anonymity while browsing Freenet using 
this browser. We recommend that you use a browser that does not do this, for example, 
Mozilla, K-Meleon, Firebird (from Mozilla.org), Lynx, Links, Amaya, Arena, or a 
correctly configured Opera.\n\nIf you are using the OPERA browser be aware that it can 
also compromise your anonymity at it's default settings please refer to the <a 
href=\"/servlet/nodeinfo/documentation/readme\">README</a> file for instructions on 
correcting this behaviour.");
                            if (badBrowserWarningsSentTo.size() < maxBadBrowserIPs) {
                                pw.println("<p>If you are really really sure you want 
to proceed, don't ");
                                pw.println("say we didn't warn you, and click <a 
href=\"" + req.getRequestURI() +

Index: HttpServletRunner.java
===================================================================
RCS file: /cvsroot/freenet/freenet/src/freenet/client/http/HttpServletRunner.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -w -r1.14 -r1.15
--- HttpServletRunner.java      26 Jun 2003 03:48:28 -0000      1.14
+++ HttpServletRunner.java      16 Oct 2003 01:03:59 -0000      1.15
@@ -227,7 +227,7 @@
        try {
            if (!fname.equalsIgnoreCase("NO"))
                log.addHook(new FileLoggerHook(fname, logFormat, logDate,
-                                               thresh, false));
+                                               thresh, false, false));
            else
                log.addHook(new FileLoggerHook(System.err, logFormat, 
                                                logDate, thresh));

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

Reply via email to