Author: toad
Date: 2006-06-09 21:05:43 +0000 (Fri, 09 Jun 2006)
New Revision: 9107

Modified:
   trunk/freenet/src/freenet/config/FilePersistentConfig.java
   trunk/freenet/src/freenet/node/Version.java
Log:
791: Increase maximum line size for config options. This should allow the node 
to startup when people have long bookmark lists?

Modified: trunk/freenet/src/freenet/config/FilePersistentConfig.java
===================================================================
--- trunk/freenet/src/freenet/config/FilePersistentConfig.java  2006-06-09 
20:58:16 UTC (rev 9106)
+++ trunk/freenet/src/freenet/config/FilePersistentConfig.java  2006-06-09 
21:05:43 UTC (rev 9107)
@@ -81,7 +81,7 @@
                try {
                        LineReadingInputStream lis = new 
LineReadingInputStream(bis);
                        // Config file is UTF-8 too!
-                       origConfigFileContents = new SimpleFieldSet(lis, 4096, 
256, true, true, true);
+                       origConfigFileContents = new SimpleFieldSet(lis, 32768, 
128, true, true, true);
                } finally {
                        try {
                                fis.close();

Modified: trunk/freenet/src/freenet/node/Version.java
===================================================================
--- trunk/freenet/src/freenet/node/Version.java 2006-06-09 20:58:16 UTC (rev 
9106)
+++ trunk/freenet/src/freenet/node/Version.java 2006-06-09 21:05:43 UTC (rev 
9107)
@@ -18,7 +18,7 @@
        public static final String protocolVersion = "1.0";

        /** The build number of the current revision */
-       private static final int buildNumber = 790;
+       private static final int buildNumber = 791;

        /** Oldest build of Fred we will talk to */
        private static final int lastGoodBuild = 765;


Reply via email to