-
- Downloads
2005-03-21 jrandom
* Fixed the tunnel fragmentation handler to deal with multiple fragments in a single message properly (rather than release the buffer into the cache after processing the first one) (duh!) * Added the batching preprocessor which will bundle together multiple small messages inside a single tunnel message by delaying their delivery up to .5s, or whenever the pending data will fill a full message, whichever comes first. This is disabled at the moment, since without the above bugfix widely deployed, lots and lots of messages would fail. * Within each tunnel pool, stick with a randomly selected peer for up to .5s before randomizing and selecting again, instead of randomizing the pool each time a tunnel is needed.
Showing
- history.txt 14 additions, 1 deletionhistory.txt
- router/java/src/net/i2p/router/RouterVersion.java 2 additions, 2 deletionsrouter/java/src/net/i2p/router/RouterVersion.java
- router/java/src/net/i2p/router/StatisticsManager.java 3 additions, 0 deletionsrouter/java/src/net/i2p/router/StatisticsManager.java
- router/java/src/net/i2p/router/tunnel/BatchedFragmentTest.java 184 additions, 0 deletions...r/java/src/net/i2p/router/tunnel/BatchedFragmentTest.java
- router/java/src/net/i2p/router/tunnel/BatchedPreprocessor.java 193 additions, 0 deletions...r/java/src/net/i2p/router/tunnel/BatchedPreprocessor.java
- router/java/src/net/i2p/router/tunnel/BatchedRouterPreprocessor.java 55 additions, 0 deletions.../src/net/i2p/router/tunnel/BatchedRouterPreprocessor.java
- router/java/src/net/i2p/router/tunnel/FragmentHandler.java 12 additions, 2 deletionsrouter/java/src/net/i2p/router/tunnel/FragmentHandler.java
- router/java/src/net/i2p/router/tunnel/FragmentTest.java 158 additions, 47 deletionsrouter/java/src/net/i2p/router/tunnel/FragmentTest.java
- router/java/src/net/i2p/router/tunnel/FragmentedMessage.java 8 additions, 2 deletionsrouter/java/src/net/i2p/router/tunnel/FragmentedMessage.java
- router/java/src/net/i2p/router/tunnel/TrivialPreprocessor.java 114 additions, 147 deletions...r/java/src/net/i2p/router/tunnel/TrivialPreprocessor.java
- router/java/src/net/i2p/router/tunnel/TunnelCreatorConfig.java 3 additions, 0 deletions...r/java/src/net/i2p/router/tunnel/TunnelCreatorConfig.java
- router/java/src/net/i2p/router/tunnel/TunnelDispatcher.java 12 additions, 2 deletionsrouter/java/src/net/i2p/router/tunnel/TunnelDispatcher.java
- router/java/src/net/i2p/router/tunnel/TunnelGateway.java 10 additions, 5 deletionsrouter/java/src/net/i2p/router/tunnel/TunnelGateway.java
- router/java/src/net/i2p/router/tunnel/pool/PooledTunnelCreatorConfig.java 6 additions, 0 deletions...net/i2p/router/tunnel/pool/PooledTunnelCreatorConfig.java
Loading
Please register or sign in to comment