732eddd1b9
toString() fix (NO_ACK)
2013-07-10 18:14:18 +00:00
67859f67b0
Make activeResends field atomic
2013-07-09 13:55:09 +00:00
aab4a3ab44
Change criteria for resending on NACK to match comment
2013-07-07 20:13:11 +00:00
e9e550fb55
cleanup, sync, more logging
2013-07-07 19:15:08 +00:00
f80ea386a0
Log errors to logger if available
2013-07-07 17:20:06 +00:00
bec62c1be7
Remove unused field
...
Use atomics to manage closed state and IOExceptions
2013-07-05 19:48:31 +00:00
7f8efca0ba
minor cleanup, more to follow
2013-07-05 19:05:54 +00:00
76de4faf62
better sync
2013-07-05 18:29:00 +00:00
dfc4948a6f
cleanup & sync
2013-07-05 18:21:42 +00:00
ba0e58e66a
fix compilation
2013-07-05 12:53:13 +00:00
18531f0c09
Log close() loops
2013-07-05 12:43:58 +00:00
93df048bd6
Cleanups, make I2PSocket a Closeable
2013-07-05 11:54:18 +00:00
6f5f4d179b
* Streaming:
...
- Don't stop timers when session disconnects (tickets #644 , #810 )
- Throw exception on attempt to use destroyed socket manager
- Clear TCBShare cache when stopped
- Javadocs
2013-07-04 14:54:46 +00:00
570f8526b0
getSession() cannot be null
2013-06-30 17:00:14 +00:00
67f73d7198
wip
2013-06-29 21:22:28 +00:00
6e36d374ea
wip
2013-06-29 21:12:11 +00:00
740b37b70c
wait until client thread finishes before declaring victory
2013-06-29 21:03:19 +00:00
782e38bdcf
add TODO, make server thread daemon
2013-06-29 21:02:30 +00:00
937404b39c
test seems to be hopelessly out of date
2013-06-29 20:35:27 +00:00
a0bf223031
return the Thread object for join()-ing
2013-06-29 20:34:57 +00:00
1c68852f45
Finish rename
2013-06-28 22:32:05 +00:00
4f6065b4fa
refactoring most tests
...
remove standalone test from junit wildcard
2013-06-28 22:27:31 +00:00
14944982fb
Trying to fix the Jenkins build..
2013-06-28 20:50:38 +00:00
10bf74e045
add streaming lib tests to the top-level ant targets
2013-06-28 18:48:39 +00:00
a9d9e6b572
work on test
2013-06-28 18:43:36 +00:00
bddfe3ed86
Convert most streaming tests to JUnit4
2013-06-28 16:00:47 +00:00
a308179d81
Fix and junit-ify tests
2013-06-28 15:21:02 +00:00
00d1b7519f
* Streaming: Flush debug pcap stream after closing connection
2013-06-17 19:54:22 +00:00
16c8a19be8
* Streaming: Throw chained IOE from streams to get correct location
2013-05-07 13:09:03 +00:00
a44e75201f
* Streaming: Pcap window size fixes
2013-04-21 15:40:08 +00:00
1eda9e9053
set ethertype to IPv4
2013-04-10 17:01:54 +00:00
2217d1ab95
Moved *streaming and i2ptunnel tests to match convention
2012-11-04 11:23:12 +00:00
84a0793a10
* Streaming: New disableRejectLogging option (default false), enable for snark
2012-10-31 15:56:02 +00:00
4baf3b6913
Fixups after props from:
...
i2p.i2p.zzz.pcap
i2p.i2p.zzz.test
i2p.i2p.zzz.test2
i2p.i2p.zzz.update
Javadoc fixes
Checklist tweak
-1
2012-10-28 13:08:02 +00:00
5766db2c09
propagate from branch 'i2p.i2p.zzz.pcap' (head fff5fc864e5905ed77f8d60f7d0892ed5c2447b4)
...
to branch 'i2p.i2p' (head cc74e6e08096cc7fdb8563b2eae82df2a000ab01)
2012-10-28 12:26:52 +00:00
61ee957add
pcap:
...
- Buffer output
- Separate methods for inbound and outbound, so we
don't need to use PacketLocal for inbound
- Cleanups after prop
- Finals etc.
2012-10-27 18:03:54 +00:00
99e759a5be
propagate from branch 'i2p.i2p' (head 6e6de141ddbaddfcecf8a66ad8cf65f247f41f94)
...
to branch 'i2p.i2p.zzz.pcap' (head ae8977bcc33f75ee36505e739e9e4a194f5d9074)
2012-10-27 16:12:57 +00:00
0ccf65fcf8
banlist
2012-10-26 16:24:31 +00:00
b095b7e769
* i2ptunnel:
...
- Set default read timeout in standard server
- Reduce header timeout, enforce total header timeout
in IRC and HTTP servers (ticket #723 )
* Streaming: Don't ignore option or force connect timeout to 5 minutes
* Streaming javadocs
* SocketTimeout cleanup
2012-10-07 20:57:35 +00:00
49b11e1f84
* Streaming: Don't send RST on globally-blackisted conns
2012-09-28 18:48:16 +00:00
fb5d0cd760
Boolean.valueOf(x).booleanValue() -> Boolean.parseBoolean(x)
2012-09-28 17:50:41 +00:00
20e463e41b
* Streaming:
...
- Implement changing connection limits on a running session
- Implement global blacklist
2012-09-26 20:02:36 +00:00
8633ef9513
* Streaming: Don't send a RST to an hour/day limited peer,
...
or blacklisted, or non-whitelisted, to not waste outbound bandwidth
2012-09-12 21:52:12 +00:00
3781928693
logging cleanups
2012-09-10 17:22:51 +00:00
6bfd916fef
SimpleTimer (ticket #653 ):
...
- Move all remaining uses to SimpleTimer2
- Deprecate
2012-09-01 13:14:15 +00:00
f8bc6f8612
* Streaming: Limit amount of slow-start exponential growth
2012-08-27 20:36:24 +00:00
b01cf32321
* SendMessageOptions: Increase tag fields to 4 bits and use
...
table lookup for more flexibility
* Streaming: Use packet type and current window size to adjust
number of tags sent and tag threshold, to improve
efficiency and reliability
2012-08-26 13:02:11 +00:00
715bde5ecf
* Streaming: Increase max connection timeout
2012-08-20 12:12:48 +00:00
b4a50ed03a
replace SimpleScheduler.getInstance() calls
2012-08-03 17:13:17 +00:00
63f22a54e1
fix unsafe initialization of super constructor calling override
2012-06-29 17:21:57 +00:00