Author: robert
Date: 2008-01-23 18:24:38 +0000 (Wed, 23 Jan 2008)
New Revision: 17213

Modified:
   trunk/freenet/src/freenet/io/comm/DMT.java
Log:
don't let allSent messages get before the data being sent


Modified: trunk/freenet/src/freenet/io/comm/DMT.java
===================================================================
--- trunk/freenet/src/freenet/io/comm/DMT.java  2008-01-23 17:45:15 UTC (rev 
17212)
+++ trunk/freenet/src/freenet/io/comm/DMT.java  2008-01-23 18:24:38 UTC (rev 
17213)
@@ -169,7 +169,8 @@
                return size + 8 /* uid */ + 4 /* packet# */ + 4 /* Message 
hader */;
        }

-       public static final MessageType allSent = new MessageType("allSent", 
PRIORITY_LOW) {{
+       //This is of priority BULK_DATA to cut down on suprious resend 
requests, it will be queued after the packets it represents
+       public static final MessageType allSent = new MessageType("allSent", 
PRIORITY_BULK_DATA) {{
                addField(UID, Long.class);
        }};



Reply via email to