- Nov 13, 2014
-
-
zzz authored
- Fix bug that left server acceptor thread running after close - Add destroy() methods to release all resources when closing a tunnel for good, particularly the streaming timer threads - Use COWAL to prevent concurrency problems - Javadocs Streaming: - Don't return null from accept() any more; actually throw ConnectException as the javadocs have always specified - Throw ConnectException from accept() if interrupted; previously caught and ignored - Throw exceptions from ConnectionHandler.accept(), not higher up - Close ServerSocket when ConnectionManager is shut down - Synchronize setActive(), clear queue when starting to accept, better handling of calls that don't change state - Javadocs ConfigClientsHelper: Call isPluginRunning() less often PluginStarter: Simplify detection of active threads Above changes mostly in support of zzzot plugin implementing ClientApp and being able to shut down completely so there are no threads in its thread group, so /configclients will all show status as stopped. Previously, the I2PTunnelServer acceptor thread and one or more streaming timer threads would remain.
-
- Nov 12, 2014
- Nov 10, 2014
-
-
zzz authored
-
- Nov 08, 2014
-
-
zzz authored
Transports: If we are non-DSA, check for compatibility before connecting out
-
- Nov 06, 2014
-
-
zzz authored
-
- Nov 04, 2014
-
-
zzz authored
Full acks were included in the bitfield portion, which ran over and appeared to be fragments. Also clean up setting bytes with initial data, for clarity.
-
- Nov 01, 2014
-
-
zzz authored
Fix history.txt UTF-8 breakage Javadoc fixes after review
-
- Oct 30, 2014
- Oct 26, 2014
-
-
zzz authored
-
- Oct 23, 2014
-
-
zzz authored
-
- Oct 20, 2014
-
-
zzz authored
Switch back to QueuedThreadPool (ticket #1395) In Jetty 5/6, the default QTP was not concurrent, so we switched to ThreadPoolExecutor with a fixed-size queue, a set maxThreads, and a RejectedExecutionPolicy of CallerRuns. Unfortunately, CallerRuns causes lockups in Jetty NIO. In addition, no flavor of TPE gives us what QTP does: - TPE direct handoff (which we were using) never queues. This doesn't provide any burst management when maxThreads is reached. CallerRuns was an attempt to work around that. - TPE unbounded queue does not adjust the number of threads. This doesn't provide automatic resource management. - TPE bounded queue does not add threads until the queue is full. This doesn't provide good responsiveness to even small bursts. QTP adds threads as soon as the queue is non-empty. QTP as of Jetty 7 uses concurrent. QTP unbounded queue is the default in Jetty. So switch back to QTP with a bounded queue, which does what we want, which is first expand the thread pool, then start queueing, then reject. ref: http://docs.oracle.com/javase/6/docs/api/java/util/concurrent/ThreadPoolExecutor.html https://wiki.eclipse.org/Jetty/Howto/High_Load
-
- Oct 17, 2014
-
-
zzz authored
-
- Oct 16, 2014
-
-
zzz authored
-
- Oct 15, 2014
-
-
zzz authored
-
- Oct 14, 2014
-
-
zzz authored
to replace all-zeros hash, and ease implementation for separate LS and RI databases, as documented in i2np spec.
-
- Oct 13, 2014
-
-
zzz authored
types Standard, IRC, and Socks IRC, if non-shared.
-
- Oct 10, 2014
-
-
zzz authored
- Don't rate peers in some countries as high capacity - Don't enable auto-floodfill in some countries - Don't prefer floodfills in some countries
-
- Oct 07, 2014
-
-
zzz authored
-
- Oct 03, 2014
-
-
zzz authored
-
- Sep 30, 2014
-
-
zzz authored
- code cleanup in direction handling
-
- Sep 27, 2014
-
-
zzz authored
- Fix model and family calculation - Fix most AMD family 15 IDs - Add AMD Llano, Jaguar, Bulldozer 2 - Add Intel Ivy Bridge, Haswell, Broadwell, Penryn, Pineview, Cedarview, Bay Trail, Avoton, and others - Set best-guess capabilities for most Intel processors - Supply best-guess model string in most cases - Processors listed above, and some others, may see crypto speedups as a result - Code cleanup, reduce number of JNI calls - Merge dup cases - Tab removal - Javadocs
-
- Sep 26, 2014
-
-
zzz authored
- Increase default to 3 hops (ticket #966) - Reduce upload threshold for auto-stop - Revert addition of js mime type, it was already in the default
-
- Sep 23, 2014
-
-
zzz authored
-
- Sep 22, 2014
-
-
zzz authored
* UPnP: Catch reported error on FreeBSD
-
- Sep 20, 2014
-
- Sep 17, 2014
- Sep 16, 2014
-
-
zzz authored
-
- Sep 13, 2014
-
-
zzz authored
- Fixes for stopping client tunnels - Fix status display for shared clients - Log tweaks
-
- Sep 12, 2014
-
-
zzz authored
-
- Sep 09, 2014
-
-
zzz authored
- fix ':' in name (again) - Change priority key from file name to file number so we don't hav to escape
-
- Sep 02, 2014
-
-
zzz authored
-
- Aug 30, 2014
-
-
zzz authored
-
- Aug 28, 2014
-
-
zzz authored
- cleanup writtenSize()
-
- Aug 27, 2014
- Aug 22, 2014
-
-
zzz authored
- Add isSupportedSince(), use in floodfill selection - Handle mixed-case 25519 enum - Fix 25519 type code - Add dup type code check
-
- Aug 21, 2014
-
-
zzz authored
- Add local SSL support for std. and IRC client tunnels (ticket #1107) Keystore goes in ~/.i2p/keystore; pubkey cert goes in ~/.i2p/certificates/i2ptunnel - Escape messages to index page - Show message for uncaught exception
-