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

Skip to content
Snippets Groups Projects
  1. Oct 24, 2004
    • jrandom's avatar
      2004-10-23 jrandom · 813679ba
      jrandom authored and zzz's avatar zzz committed
          * Minor ministreaming lib refactoring to simplify integration of the full
            streaming lib.
          * Minor bugfixes to data structure serialization.
      813679ba
  2. Sep 26, 2004
  3. Aug 25, 2004
  4. Aug 15, 2004
    • jrandom's avatar
      deal with a race on close · e5d66f46
      jrandom authored and zzz's avatar zzz committed
      more zealous bc synchronization
      make sure we always close the streams explicitly
      logging
      e5d66f46
  5. Aug 07, 2004
  6. Aug 06, 2004
  7. Aug 01, 2004
    • 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
  8. Jul 16, 2004
  9. Jul 01, 2004
  10. Jun 28, 2004
  11. Jun 27, 2004
    • jrandom's avatar
      logging · 5c1e001a
      jrandom authored and zzz's avatar zzz committed
      5c1e001a
  12. May 19, 2004
    • 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
  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 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
  18. Apr 10, 2004
  19. Apr 09, 2004
  20. Apr 08, 2004
Loading