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

Skip to content
Snippets Groups Projects
  1. Aug 30, 2004
  2. Aug 29, 2004
  3. Aug 25, 2004
    • jrandom's avatar
      * add a new simplified version of java.util.Timer/TimedEvent · 7e7f97d7
      jrandom authored and zzz's avatar zzz committed
      * removed all of the "temporary" threads used for adding timeouts to blocking socket operations:
       - use the ConnectionEstablisher's thread + a SimpleTimer.TimedEvent callback to timeout socket create
       - added a pool of socket handler threads (size=3 atm) for receiving any inbound sockets, which are
         pulled off a queue, after which a handshake occurs to verify the other side is I2NP (along side
         another SimpleTimer.TimedEvent callback in case that blocks)
      this should get the last of the temporary threads (Jetty has its own thread pool for dealing with
      HTTP requests, so we can ignore that thread created in the AdminRunner).  The only significant
      reduction in threads left is to go with either NIO or UDP, but neither are happening in the immediate
      future.
      7e7f97d7
  4. Aug 24, 2004
  5. Aug 23, 2004
  6. Aug 21, 2004
  7. Aug 20, 2004
  8. Aug 19, 2004
    • jrandom's avatar
      * load clientApp.* lines from clients.config by default, falling back on · 4e253829
      jrandom authored and zzz's avatar zzz committed
      reading the router's props only if that file doesn't exist.
      * by default, only log CRIT messages to the screen (the rest are sent to
      the log file).  this will be useful with the upcoming service controller
      * refactor a common Properties helper to DataHelper.loadProps
      4e253829
  9. Aug 17, 2004
  10. Aug 14, 2004
  11. Aug 13, 2004
    • jrandom's avatar
      *cough* i knew there was a reason i left that test running... · c18fc198
      jrandom authored and zzz's avatar zzz committed
      c18fc198
    • jrandom's avatar
      > Date: Fri, 13 Aug 2004 15:58:30 +1200 (NZST) · 352396bd
      jrandom authored and zzz's avatar zzz committed
      > Message-ID: <1776.202.37.75.101.1092369510.squirrel@202.37.75.101>
      > From: adam@adambuckley.net
      > To: jrandom@i2p.net
      >
      > [...]
      >
      > I hereby authorize my NtpClient.java and NtpMessage.java code to be
      > redistributed under the BSD license for the purpose of integration with
      > the I2P project, providing that I am credited as the original author of
      > the code.
      >
      > [...]
      w00t!  adam++
      code migrated into core/java/src/net/i2p/time, integrated with Clock,
      dropping that whole ugly pass-the-time-through-URL, and hence dropped
      support for :7655/setTime.
      New router.config properties to control the timestamper:
        time.sntpServerList=pool.ntp.org,pool.ntp.org,pool.ntp.org
        time.queryFrequencyMs=300000
        time.disabled=false
      So, to disable, add time.disabled=true to your router.config.  It is
      enabled by default.
      Default router.config and startup scripts updated accordingly (since
      timestamper.jar is now gone)
      352396bd
    • jrandom's avatar
      0.3.4.2, backwards compatible, release pretty soon · c2d55013
      jrandom authored and zzz's avatar zzz committed
      c2d55013
  12. Aug 11, 2004
  13. Aug 08, 2004
  14. Aug 07, 2004
  15. Aug 01, 2004
  16. Jul 31, 2004
    • shendaras's avatar
      Doing something different this time -- but only to core · d10dc1e8
      shendaras authored and zzz's avatar zzz committed
      I marked all the empty statements with //nop
      I removed unneccessary elses (ie, the if returns or throws)
      I took out some casts (integral promotions/some didn't need to be there)
      -- Love, shendaras
      (2 in one day, w00t)
      d10dc1e8
  17. Jul 30, 2004
  18. Jul 29, 2004
    • jrandom's avatar
      0.3.4 NOT BACKWARDS COMPATIBLE · 5d4bdc56
      jrandom authored and zzz's avatar zzz committed
      (0.3.4 and not 0.3.3.1 since its got some major revamps)
      to be released later today.  dont upgrade until the release announcement comes out
    • jrandom's avatar
      avoid the race that could corrupt local transfers by using a single thread to... · c6bb8f09
      jrandom authored and zzz's avatar zzz committed
      avoid the race that could corrupt local transfers by using a single thread to receive notifications of message availability (and in turn fetch that data)
      the old way fired off a new (very short lived) thread for each message received, and if two happened really really quickly, they'd both lock on the mutex and the order would be undefined
      this avoids that.  thanks to oOo et al for pestering me and sending in logs :)
      c6bb8f09
  19. Jul 27, 2004
Loading