* Transport: Fix bug that inadvertently reduced default max

SSU connections in 0.9.2, cutting network capacity in half and
   harming tunnel build success rates
This commit is contained in:
zzz
2012-11-20 01:17:02 +00:00
parent 56ef4cda82
commit 5f4562467e
3 changed files with 6 additions and 2 deletions

View File

@@ -1,3 +1,7 @@
2012-11-20 zzz
* Transport: Fix bug that inadvertently reduced default max
SSU connections in 0.9.2, thus reducing tunnel build success rates
2012-11-19 kytv
* Add support for kFreeBSD to NBI and CPUID
* Improve kFreeBSD support in jcupid/jbigi scripts

View File

@@ -18,7 +18,7 @@ public class RouterVersion {
/** deprecated */
public final static String ID = "Monotone";
public final static String VERSION = CoreVersion.VERSION;
public final static long BUILD = 9;
public final static long BUILD = 10;
/** for example "-test" */
public final static String EXTRA = "";

View File

@@ -133,7 +133,7 @@ public abstract class TransportImpl implements Transport {
def = MAX_CONNECTION_FACTOR * (1 + bw - Router.CAPABILITY_BW12);
}
// increase limit for SSU, for now
if (style.equals("udp"))
if (style.equals("SSU"))
//def = def * 3 / 2;
def *= 3;
return _context.getProperty(maxProp, def);