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

Skip to content
Snippets Groups Projects
  1. Aug 01, 2004
    • jrandom's avatar
      javadoc · 8add4339
      jrandom authored and zzz's avatar zzz committed
      8add4339
    • jrandom's avatar
      javadoc fixes · c5b289fb
      jrandom authored and zzz's avatar zzz committed
      c5b289fb
    • jrandom's avatar
      * added a way to control how large we let the buffers grow before we block, · f85ce180
      jrandom authored and zzz's avatar zzz committed
      or even whether to have the blocking action timeout and close the socket after
      a certain delay
      * refactored the I2PSocketOptions to be more actively used
      * added a pair of ministreaming lib demo apps:
      - StreamSinkServer listens to a destination and dumps any data it receives on a socket to a per-socket file
      - StreamSinkClient sends a destination a specified number of random bytes, then disconnects
      f85ce180
  2. Jul 20, 2004
  3. Jul 16, 2004
  4. Jul 12, 2004
    • jrandom's avatar
      target=1.3 and source=1.3, not target=1.1 and source=1.3 · 7b9db07f
      jrandom authored and zzz's avatar zzz committed
      (this is what caused the runtime errors on sun jvms but not on kaffe)
      ((aka i slacked and didn't test sufficiently.  off with my head))
      this now builds and runs fine in sun 1.3-1.5 jvms, as well as kaffe
      7b9db07f
  5. Jul 11, 2004
  6. Jul 01, 2004
  7. Jun 30, 2004
    • shendaras's avatar
      imports · 9640e938
      shendaras authored and zzz's avatar zzz committed
      shendaras
      9640e938
  8. Jun 28, 2004
  9. Jun 27, 2004
    • jrandom's avatar
      logging · 5c1e001a
      jrandom authored and zzz's avatar zzz committed
      5c1e001a
  10. May 19, 2004
    • jrandom's avatar
      add the socketErrorListener interface (sorry duck) · e7e8ad9b
      jrandom authored and zzz's avatar zzz committed
      e7e8ad9b
    • jrandom's avatar
      truckloads of logging · 0942a7f3
      jrandom authored and zzz's avatar zzz committed
      new async interface for error notification (e.g. you can get notified of an error prior to it throwing the IOException).
      This async is useful since the IOException can be delayed for up to a minute while waiting for the close packet to be delivered.
      The alternative is to fire off a new thread to do the closing, and we may want to go there later, but i'm not sure.
      0942a7f3
  11. May 17, 2004
  12. May 16, 2004
    • jrandom's avatar
      big ol' memory, cpu usage, and shutdown handling update. main changes include: · ff0023a8
      jrandom authored and zzz's avatar zzz committed
      * rather than have all jobs created hooked into the clock for offset updates, have the jobQueue stay hooked up and update any active jobs accordingly (killing a memory leak of a JobTiming objects - one per job)
      * dont go totally insane during shutdown and log like mad (though the clientApp things still log like mad, since they don't know the router is going down)
      * adjust memory buffer sizes based on real world values so we don't have to expand/contract a lot
      * dont display things that are completely useless (who cares what the first 32 bytes of a public key are?)
      * reduce temporary object creation
      * use more efficient collections at times
      * on shutdown, log some state information (ready/timed jobs, pending messages, etc)
      * explicit GC every 10 jobs.  yeah, not efficient, but just for now we'll keep 'er in there
      * only reread the router config file if it changes (duh)
      ff0023a8
  13. May 07, 2004
  14. May 04, 2004
  15. May 03, 2004
    • jrandom's avatar
      refactored packet handling into type specific methods · 60584228
      jrandom authored and zzz's avatar zzz committed
      removed nested synchronization (which had been causing undetected deadlocks)
      made sync blocks smaller, though this may have opened holes related to
      resent ACK/SYN/CLOSE packets that are delivered in a race.  I'm not as
      fluent in the ministreaming lib code as i should be (yet), but duck's thread
      dumps were showing hundreds of threads waiting on a lock that'll never get
      released (since the only way to release it would be to receive another
      packet, and no more packets can be received until the lock is released, etc)
      also, I2PSession is threadsafe - i can see no reason to synchronize on it
      (and it was being synchronized on only part of the time?)
      also, refactored the charset encoding stuff and minor log tweaking
      i've been testing this for the last hour or so, on eepsites and squid (large
      and small files), as well as irc, and there haven't been any glitches.  but
      it needs more testing before it can be released, obviously.
      60584228
  16. Apr 21, 2004
  17. Apr 20, 2004
  18. Apr 19, 2004
  19. Apr 16, 2004
    • human's avatar
      First step for the "connection refused" concept: incoming connections · 031338d8
      human authored and zzz's avatar zzz committed
      won't be accepted until the server app actually requires an I2PServerSocket
      from the I2PSocketManager.
      It allows both to add a little bit of functionality, and to fix a nasty bug: it
      was possible to hang an app that connects through the I2PSocketManager but
      actually doesn't accept() connections (if 2 connection requests were sent
      to the app, the I2PSocketManager got stuck waiting forever on
      I2PServerSocketImpl.getNewSocket()).
      031338d8
    • human's avatar
      Slightly updated specs · 2a619f3f
      human authored and zzz's avatar zzz committed
      (human)
      2a619f3f
  20. Apr 14, 2004
  21. Apr 10, 2004
  22. Apr 09, 2004
  23. Apr 08, 2004
Loading