2005-08-24 jrandom
* Catch errors with corrupt tunnel messages more gracefully (no need to kill the thread and cause an OOM...) * Don't skip shitlisted peers for netDb store messages, as they aren't necessarily shitlisted by other people (though they probably are). * Adjust the netDb store per-peer timeout based on each particular peer's profile (timeout = 4x their average netDb store response time) * Don't republish leaseSets to *failed* peers - send them to peers who replied but just didn't know the value. * Set a 5 second timeout on the I2PTunnelHTTPServer reading the client's HTTP headers, rather than blocking indefinitely. HTTP headers should be sent entirely within the first streaming packet anyway, so this won't be a problem. * Don't use the I2PTunnel*Server handler thread pool by default, as it may prevent any clients from accessing the server if the handlers get blocked by the streaming lib or other issues. * Don't overwrite a known status (OK/ERR-Reject/ERR-SymmetricNAT) with Unknown.
Showing
- apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelHTTPServer.java 3 additions, 1 deletion...unnel/java/src/net/i2p/i2ptunnel/I2PTunnelHTTPServer.java
- apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelServer.java 37 additions, 6 deletions...i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelServer.java
- core/java/src/net/i2p/data/RouterInfo.java 17 additions, 0 deletionscore/java/src/net/i2p/data/RouterInfo.java
- core/java/src/net/i2p/stat/RateStat.java 9 additions, 0 deletionscore/java/src/net/i2p/stat/RateStat.java
- history.txt 20 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/networkdb/kademlia/KademliaNetworkDatabaseFacade.java 15 additions, 0 deletions...ter/networkdb/kademlia/KademliaNetworkDatabaseFacade.java
- router/java/src/net/i2p/router/networkdb/kademlia/SearchJob.java 9 additions, 9 deletions...java/src/net/i2p/router/networkdb/kademlia/SearchJob.java
- router/java/src/net/i2p/router/networkdb/kademlia/SearchState.java 7 additions, 0 deletions...va/src/net/i2p/router/networkdb/kademlia/SearchState.java
- router/java/src/net/i2p/router/networkdb/kademlia/StoreJob.java 20 additions, 37 deletions.../java/src/net/i2p/router/networkdb/kademlia/StoreJob.java
- router/java/src/net/i2p/router/transport/udp/PeerTestManager.java 2 additions, 2 deletions...ava/src/net/i2p/router/transport/udp/PeerTestManager.java
- router/java/src/net/i2p/router/transport/udp/UDPTransport.java 7 additions, 7 deletions...r/java/src/net/i2p/router/transport/udp/UDPTransport.java
- router/java/src/net/i2p/router/tunnel/FragmentHandler.java 12 additions, 4 deletionsrouter/java/src/net/i2p/router/tunnel/FragmentHandler.java
- router/java/src/net/i2p/router/tunnel/FragmentedMessage.java 44 additions, 11 deletionsrouter/java/src/net/i2p/router/tunnel/FragmentedMessage.java
Loading
Please register or sign in to comment