Commit Graph

280 Commits

Author SHA1 Message Date
zzz
b4a50ed03a replace SimpleScheduler.getInstance() calls 2012-08-03 17:13:17 +00:00
zzz
63f22a54e1 fix unsafe initialization of super constructor calling override 2012-06-29 17:21:57 +00:00
zzz
4092f61898 * Streaming:
- Allow at least 3 packets and up to half the window to be active resends
     instead of just 1, to reduce stall time after a packet drop
   - Increase fast retransmit threshold back to 3 to reduce retransmissions
   - Don't fast retransmit if we recently retransmitted it already
   - Allow double the window as long as gaps are less than the window
   - Don't set the MSS in a resent packet (saves 2 bytes)
   - Remove redundant calls to updateAcks()
   - Update activity timer when resending a packet
   - Reset unackedPacketsReceived counter at all places where acks are sent
     so it isn't wrong
   - Fix some places where the activeResends count could become wrong
   - Prevent storm of CLOSE packets
   - Never resend the whole packet in ackImmediately(), just send an ack
   - Cancel flusher timer in MessageOutputStream when closed
   - Move some createRateStats to ConnectionManager to reduce repeated calls
   - Cleanups, javadocs, logging, volatile, finals
2012-06-29 14:53:53 +00:00
zzz
baa89c5bbf * OCMOSJ, ElG, Streaming: log tweaks 2012-06-21 19:10:14 +00:00
zzz
d8a2e39006 from last checkin - fix enforce proto default, fix http client delayed start 2012-06-20 01:19:05 +00:00
zzz
129b16d93d * Streaming:
- Listen only on local port if set
   - Listen only for streaming protocol if configured (new option)
   - Javadocs re: ports
2012-06-19 20:26:46 +00:00
zzz
e522ffad4e * I2PTunnel:
- More client options cleanups
   - Options changes now propagate to running
     socket managers and sessions, and through to the router
 * SocketManager:
   - Simplify factory, use 4-arg constructor,
     make fields final, deprecate 0-arg constructor
   - Improve how options are updated
   - Javadocs
2012-06-14 19:44:47 +00:00
zzz
c73044b6b4 * Streaming:
- Channel cleanups and comments
   - New I2PSocketAddress
2012-06-13 19:08:49 +00:00
zzz
fc5e30e6ae better throttle log msgs 2012-05-09 21:07:33 +00:00
zzz
764a7f2e13 remove unused private items (eclipse) 2012-03-26 00:52:06 +00:00
zzz
1db58dee89 remove unused local variables (eclipse) 2012-03-25 22:16:03 +00:00
zzz
f13956d380 remove unused imports (eclipse) 2012-03-25 21:45:18 +00:00
zzz
675e8a91a4 * RetransmissionTimer: Instantiate per-destination 2012-03-22 20:40:35 +00:00
zzz
7d9db79619 fix build 2012-03-18 00:07:46 +00:00
zzz
df8bab6b72 * Streaming: Scheduler cleanup 2012-03-17 21:55:05 +00:00
zzz
75eda7e1b1 log tweak 2012-03-01 23:52:56 +00:00
zzz
cadedeb06c * Build: Add built-by to jars; check for corrupt jars on debug page 2012-03-01 16:04:17 +00:00
zzz
ad8ce95545 Streaming: Fix race NPE (thx echelon) 2012-02-20 19:34:13 +00:00
zzz
7213ff0c76 * Build: Put Implementation-Version in manifests 2012-01-15 16:36:17 +00:00
zzz
8ecf423dfc javadoc 2011-11-07 14:21:07 +00:00
26d3646630 Added an "accepting" channel for I2PServerSockets that is really low brow, but should work for now. Compiles, runs. 2011-11-04 22:56:09 +00:00
zzz
f39e201067 * Lower max netdb RI expiration again
* Increase default max tunnels
  * Cleanups after review
  * Exorcism (ticket #476)
2011-10-10 19:22:03 +00:00
bae011da1d Re-adding MessageChannel to I2PSocketFull 2011-10-07 01:26:29 +00:00
6d621d5eb9 Checking in MessageChannel, nothing to see here moving on... 2011-10-07 01:26:10 +00:00
zzz
979825b07f build fix 2011-10-05 22:01:53 +00:00
9fbc7aef25 Taking StandardSocket back since an I2PSocket cannot act like a SocketChannel. 2011-10-01 19:45:10 +00:00
00b9864dbf merge of '1ffee552dec6b7d41faffb34cab1771773dc0bcd'
and '528475be65a5b99629fadd09c3d2f42bbc907914'
2011-10-01 17:22:29 +00:00
863fb08fa1 Added rudimentary channel support. 2011-10-01 17:21:53 +00:00
zzz
273e940fa1 findbugs 2011-09-28 17:05:38 +00:00
zzz
6d064270fc propagate from branch 'i2p.i2p' (head 793ca7c46f5d8b51c5880fc538dea7874e62f63b)
to branch 'i2p.i2p.zzz.test' (head d39f17fe601b6ae514111b07092de820668015d7)
2011-08-20 20:23:27 +00:00
zzz
1bf651b88b final 2011-08-17 17:46:05 +00:00
zzz
0d212f6478 dont throw when setting to the same value 2011-07-28 18:23:27 +00:00
zzz
3834403c79 propagate from branch 'i2p.i2p' (head e014bb054baa0d8e844e9a97ad6f5b04ed7c0e56)
to branch 'i2p.i2p.zzz.test' (head 1e0af137b9c4c873fea72d661f2ee351a640734f)
2011-07-19 21:18:14 +00:00
zzz
3f8df84a4a * Streaming: Improve conn limit log message 2011-07-18 14:29:32 +00:00
zzz
9f433b2e6b * Streaming:
- Hook I2CP ports through to I2PSocket
    - Javadocs, init cleanups, final
2011-07-14 18:53:10 +00:00
zzz
44f4e551b7 more misc findbugs 2011-07-08 17:54:57 +00:00
zzz
c5f04ee9c4 - Don't do 'mtn list changed' if not in a workspace or not needed 2011-06-08 20:15:53 +00:00
zzz
fd91927c11 * Build:
- Add includeAntRuntime=false to all javac targets
      - Add build date, mtn rev, and changed file list to all manifests
      - Add unless=uptodate to all jar and war targets
        (bob and dtg still todo)
2011-02-17 12:47:35 +00:00
zzz
5eb511b0bf * Streaming: Don't use iter.remove() on a COWAS 2011-02-10 15:20:05 +00:00
zzz
b80c0546a2 standard socket cleanups 2011-01-21 15:48:05 +00:00
zzz
65c6186479 Cleanups: Collections.singleton(), COWAS - includes ticket #388 2011-01-13 14:21:48 +00:00
zzz
0e1d978774 propagate from branch 'i2p.i2p' (head 687bab4d9de8e6686e2734069dfb72f6f2134124)
to branch 'i2p.i2p.zzz.test4' (head 9580436bb581971920ea96e58861142c546c861b)
2011-01-07 00:37:51 +00:00
zzz
ea29c961ed log tweak 2011-01-05 21:01:03 +00:00
zzz
226cb7fdb9 * Streaming:
- Add new real sockets for easier porting of apps.
        See http://zzz.i2p/topics/792 for info.
        Untested.
      - de-SpongeCase
      - Javadoc
2011-01-05 16:41:41 +00:00
zzz
c7c7731f91 propagate from branch 'i2p.i2p' (head 3d405c867f6903bf1d69b04c1daebf3146882525)
to branch 'i2p.i2p.zzz.test4' (head bfd85b10fdd1542526a4b9c53e5d4a733087f317)
2010-12-15 15:09:48 +00:00
zzz
04ea1fb9ca javadoc 2010-12-04 18:43:30 +00:00
zzz
9a6a66d70f * Streaming: Restore I2PSocketManagerFull as public
(broke jwebcahe ticket #345)
2010-12-02 12:58:40 +00:00
zzz
9147fddb8e * Streaming: Change some log errors to warnings (tickets 76, 341 and others) 2010-11-30 15:04:18 +00:00
zzz
601abdce6d Lock down streaming classes not in the API. Holler if this breaks any external apps. 2010-11-29 15:39:55 +00:00
zzz
612d06bd53 * Build: Move all dependencies to top-level build.xml,
so each sub-build.xml is only executed once (true DAG)
2010-11-28 03:56:56 +00:00