source: history.txt @ 2f2aa7f

Last change on this file since 2f2aa7f was 2f2aa7f, checked in by zzz <zzz@…>, 6 years ago

I2PTunnel:

  • 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.

  • Property mode set to 100644
File size: 553.0 KB

HTML preview not available, since the file size exceeds 256.0 KB. Try downloading the file instead.

Note: See TracBrowser for help on using the repository browser.