-
- Downloads
* Tunnel Building:
- Add getRecordCount() to TunnelBuildMessage and TunnelBuildReplyMessage so they can be extended. - New I2NP Messages VariableTunnelBuildMessage and VariableTunnelBuildReplyMessage, which contain the number of request slots in them. - Convert all static assumptions of 8 slots to getRecordCount() - Use the new VTBM if all hops in the tunnel and the OBEP or IBGW of the reply tunnel support it, and the tunnel is 4 hops or shorter. - Reply to a VTBM with a VTBRM of the same size - Make BuildReplyHandler static - Convert the currentlyBuilding List to a ConcurrentHashMap to speed reply lookups and eliminate a global lock; don't put fallback tunnels in there - Add new tunnel.corruptBuildReply stat - Various cleanups and javadoc Tested as compatible with current network, new messages untested.
Showing
- router/java/src/net/i2p/data/i2np/I2NPMessageImpl.java 13 additions, 9 deletionsrouter/java/src/net/i2p/data/i2np/I2NPMessageImpl.java
- router/java/src/net/i2p/data/i2np/TunnelBuildMessage.java 20 additions, 3 deletionsrouter/java/src/net/i2p/data/i2np/TunnelBuildMessage.java
- router/java/src/net/i2p/data/i2np/TunnelBuildReplyMessage.java 20 additions, 3 deletions...r/java/src/net/i2p/data/i2np/TunnelBuildReplyMessage.java
- router/java/src/net/i2p/data/i2np/VariableTunnelBuildMessage.java 69 additions, 0 deletions...ava/src/net/i2p/data/i2np/VariableTunnelBuildMessage.java
- router/java/src/net/i2p/data/i2np/VariableTunnelBuildReplyMessage.java 71 additions, 0 deletions...rc/net/i2p/data/i2np/VariableTunnelBuildReplyMessage.java
- router/java/src/net/i2p/router/tunnel/BuildMessageGenerator.java 13 additions, 6 deletions...java/src/net/i2p/router/tunnel/BuildMessageGenerator.java
- router/java/src/net/i2p/router/tunnel/BuildMessageProcessor.java 2 additions, 2 deletions...java/src/net/i2p/router/tunnel/BuildMessageProcessor.java
- router/java/src/net/i2p/router/tunnel/BuildReplyHandler.java 11 additions, 7 deletionsrouter/java/src/net/i2p/router/tunnel/BuildReplyHandler.java
- router/java/src/net/i2p/router/tunnel/TunnelCreatorConfig.java 8 additions, 4 deletions...r/java/src/net/i2p/router/tunnel/TunnelCreatorConfig.java
- router/java/src/net/i2p/router/tunnel/pool/BuildExecutor.java 40 additions, 17 deletions...er/java/src/net/i2p/router/tunnel/pool/BuildExecutor.java
- router/java/src/net/i2p/router/tunnel/pool/BuildHandler.java 35 additions, 46 deletionsrouter/java/src/net/i2p/router/tunnel/pool/BuildHandler.java
- router/java/src/net/i2p/router/tunnel/pool/BuildRequestor.java 81 additions, 12 deletions...r/java/src/net/i2p/router/tunnel/pool/BuildRequestor.java
Loading
Please register or sign in to comment