I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
  1. Nov 13, 2014
    • zzz's avatar
      I2PTunnel: · 2f2aa7f5
      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.
      2f2aa7f5
  2. Nov 12, 2014
  3. Nov 10, 2014
    • zzz's avatar
      bump -4 · a961843a
      zzz authored
      a961843a
  4. Nov 08, 2014
  5. Nov 06, 2014
  6. Nov 04, 2014
  7. Nov 01, 2014
  8. Oct 30, 2014
  9. Oct 26, 2014
  10. Oct 23, 2014
  11. Oct 20, 2014
    • zzz's avatar
      Console and Eepsite Jetty: · 44d6e117
      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
      44d6e117
  12. Oct 17, 2014
  13. Oct 16, 2014
  14. Oct 15, 2014
  15. Oct 14, 2014
  16. Oct 13, 2014
  17. Oct 10, 2014
    • zzz's avatar
      GeoIP: · e081f94d
      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
      e081f94d
  18. Oct 07, 2014
  19. Oct 03, 2014
  20. Sep 30, 2014
  21. Sep 27, 2014
    • zzz's avatar
      CPUID: · 0f298cf4
      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
      0f298cf4
  22. Sep 26, 2014
    • zzz's avatar
      i2psnark: · 2c79853f
      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
      2c79853f
  23. Sep 23, 2014
  24. Sep 22, 2014
  25. Sep 20, 2014
  26. Sep 17, 2014
  27. Sep 16, 2014
  28. Sep 13, 2014
    • zzz's avatar
      * i2ptunnel: · eab4397b
      zzz authored
         - Fixes for stopping client tunnels
         - Fix status display for shared clients
         - Log tweaks
      eab4397b
  29. Sep 12, 2014
  30. Sep 09, 2014
    • zzz's avatar
      * i2psnark: Escape fixes · 09dfea7d
      zzz authored
         - fix ':' in name (again)
         - Change priority key from file name to file number so we don't hav to escape
      09dfea7d
  31. Sep 02, 2014
  32. Aug 30, 2014
  33. Aug 28, 2014
  34. Aug 27, 2014
  35. Aug 22, 2014
    • zzz's avatar
      * SigTypes: · efebecfc
      zzz authored
        - Add isSupportedSince(), use in floodfill selection
        - Handle mixed-case 25519 enum
        - Fix 25519 type code
        - Add dup type code check
      efebecfc
  36. Aug 21, 2014
    • zzz's avatar
      * i2ptunnel: · 975378b2
      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
      975378b2
Loading