843e2a8a0e
propagate from branch 'i2p.i2p' (head 4a63eba1606a8ba2448352876b4177d9e4c753a1)
...
to branch 'i2p.i2p.unittests' (head 051ea486db9f6f5a4327038827763f350369f932)
2015-10-09 10:17:03 +00:00
419d6a8e18
SimpleTimer2: Additional fix for uncaught IllegalStateException
...
affecting streaming timers (ticket #1672 )
Minor streaming cleanup
2015-10-08 13:42:31 +00:00
3ea8b477d8
Streaming: Move throttler from context timer to streaming timer
2015-09-27 15:14:18 +00:00
64889b2bc2
Streaming: Move remaining timers from the context to streaming's SimpleTimer2;
...
these were the ones migrated from SimpleScheduler earlier
2015-09-18 14:36:49 +00:00
601376561b
add Closeable/Flushable interfaces
2015-08-27 14:36:19 +00:00
45fe238227
Refactor SchedulerDead tests
2015-07-27 11:50:01 +00:00
e704baddd8
SchedulerDead tests
2015-07-27 08:18:46 +00:00
db9555dba3
Fix test
2015-07-27 06:49:07 +00:00
4b34b49dc1
More MessageInputStream tests
2015-07-27 06:32:53 +00:00
1652bb39e3
Fix Cobertura exclusions
2015-07-27 06:31:31 +00:00
5eda1e0031
JavaDoc paragraphs
2015-07-27 04:29:50 +00:00
b19866cbc4
Refactor part 2
2015-07-27 03:33:30 +00:00
48bcc031da
Refactor tests
2015-07-27 02:57:33 +00:00
f1998e6377
Add Mockito libs to streaming tests
2015-07-27 01:52:56 +00:00
6f1bb85397
Separate out streaming integration tests, make them optional
2015-07-27 00:58:42 +00:00
d662514f74
Move streaming demo out of tests
2015-07-25 11:42:53 +00:00
1eaf376ee7
Crypto: Check for error return from sign()
2015-07-07 13:46:04 +00:00
2681c4b42f
Streaming: New config to add to DSA-only list
2015-07-07 13:35:55 +00:00
addb142ecd
I2CP: Move client-side implementation classes to
...
new package net.i2p.client.impl, leaving only the
factories and interfaces in net.i2p.client
2015-06-18 21:20:00 +00:00
f341e5566b
Pass session in connect();
...
Store the session in Connection;
Don't create a new ConnectionManager for a subsession,
now that all components track the session properly.
@since updates
2015-06-10 19:14:33 +00:00
7b84676f4a
remove session ref from PacketQueue
2015-06-10 12:37:19 +00:00
fef65c996f
Store the session in Packet, so we may more easily and efficiently
...
handle multisession, especially on the incoming side.
More refactoring to follow
2015-06-08 22:18:14 +00:00
099515adff
propagate from branch 'i2p.i2p' (head 1de143fff53bb56e6eac926d6293d62200f0c392)
...
to branch 'i2p.i2p.zzz.multisess' (head 70fc07857232668b93ca6ba02c433dffc7639132)
2015-06-08 21:50:42 +00:00
657f13af29
Remove ConnectionManager ref from PacketQueue
2015-06-03 17:25:25 +00:00
f7b7a98b9d
i2ptunnel: Close input stream when HTTP client decompressor terminates (ticket #1506 )
...
streaming: Minor cleanups, log tweaks
2015-05-04 14:43:54 +00:00
8d9e2bdc71
log tweaks
2015-04-26 17:46:48 +00:00
843230a1cb
Fixed MessageInputStreamTest after constructor changes
2015-04-26 01:43:34 +00:00
772d0beac3
Streaming: Don't wait too long to send a dup ACK, so the other
...
side isn't stuck forever at a window size of 1.
Cleanups, log tweaks, javadocs
2015-04-23 15:34:24 +00:00
64fdfd81ee
remove excess logging
2015-04-23 13:38:44 +00:00
1b09b9faa4
Streaming: More efficient checking for input buffer overflow,
...
add additional checks.
Fix bug if available buffer calculation is negative
Check log level before calling displayPacket()
Log tweaks
2015-04-23 13:19:18 +00:00
6f0ebb2d94
Streaming: Reduce min RTO so that "loopback" connections
...
recover quicker after packet loss;
Reduce default initial ack delay;
Rename misspelled method
2015-04-23 10:28:02 +00:00
72eb2c058c
Streaming: Move Packet.writeSignedPacket() to PacketLocal
2015-04-20 13:13:55 +00:00
47c4c0d6bb
add all known dsa-only hosts to list
2015-04-19 19:35:38 +00:00
b2872e6110
I2CP Multisession - Work in progress:
...
Start availability notifier in subsession
Availability notifier cleanup
Various log tweaks added while chasing this down
Better subsession state management
I2PSocketManagerFull verifies subsession to force connect()
Successfully tested
2015-04-19 19:05:53 +00:00
32049d7bfc
I2CP Multisession - Work in progress:
...
Reuse LS encryption keypair from primary LS
Log tweaks
2015-04-19 14:49:13 +00:00
d8baf62966
I2CP Multisession - Work in progress:
...
Stub out hardcoded list of DSA-only destinations
Tweak client name length in summary bar
Force initial leaseset request for subsession
Send SessionStatus msg before LS request for subsession
2015-04-19 03:11:37 +00:00
ff5d29de1a
I2CP Multisession - Work in progress:
...
Fix NPE in addSubsession() by creating key stream
Set sigtype for subsession
2015-04-18 19:50:14 +00:00
91e98ba447
I2CP Multisession Work in progress:
...
Fix NPE in requestLeaseSet()
Fix setting new session ID in SessionStatusMessage
Fix subsession support detection
Streaming: one socket manager, multiple connection managers.
Change data structure for subessions in socket manager
Subsession cleanup on destroy
I2PTunnel: add DSA subsession for non-DSA shared client
Javadocs
2015-04-18 19:01:23 +00:00
6a644dd0e5
propagate from branch 'i2p.i2p' (head 66743cfb9b4e1c257e4f0a20a318ee7eb1fb607c)
...
to branch 'i2p.i2p.zzz.multisess' (head 4533ba250cb8e49044f5144b34014e9bc618cdc7)
2015-04-18 14:08:22 +00:00
7b82393336
atomics and finals
2015-04-17 17:15:22 +00:00
bc0a7ebbbc
propagate from branch 'i2p.i2p.zzz.test2' (head b6de226d1664089488ab2b438fe7457e9fb8e563)
...
to branch 'i2p.i2p' (head 0cf35c87b68a5360bd35257e36dfe7f740e53693)
2015-04-17 13:18:22 +00:00
5555c52376
Streaming: Locking for next send time,
...
rename shadowing field in inner class
2015-04-17 13:00:16 +00:00
b31ae4bae5
propagate from branch 'i2p.i2p.tuna.tmp' (head 1bba286bdb7f8ba879c4db3f356676151674a201)
...
to branch 'i2p.i2p' (head 5698b31632398b8156a3b4cc215fed677cf205bf)
2015-04-15 16:08:29 +00:00
54dba980b4
#1069 : Replaced SimpleScheduler with SimpleTimer2 in a few places
2015-04-15 15:32:40 +00:00
de6608f6b8
Streaming: Handle reset packets without a FROM field, validate
...
signature using connection's destination
Log tweaks
Remove 0 arg from addRateData() calls
2015-04-14 14:11:48 +00:00
facbe8f9a0
#1069 : Deprecated SimpleScheduler and moved functionality into SimpleTimer2
2015-04-06 21:05:24 +00:00
706ee243a5
Streaming read timeout fixes:
...
i2ptunnel:
- Better timeout handling when reading headers in HTTP server (improved fix for ticket #723 )
Enforce total header timeout with new readLine()
- Prep for returning specific HTTP errors to client on request timeout and header errors,
instead of just closing socket... further work to be in i2p.i2p.zzz.test2 branch
Streaming:
- Fix read timeout on input stream - was waiting too long, often twice as long as timeout, or more
Enforce total timeout even when notify()ed
- Fix read() returning 0 on read timeout instead of -1 (possible fix for ticket #335 )
This prevents passing partial headers to server on timeout
- Fix javadocs for read timeout to match current behavior
- Fix StandardSocket SoTimeout to account for differences with I2PSocket readTimeout
- log tweaks
2015-04-04 17:00:57 +00:00
fadc624f7c
API: Fix some client-side APIs to honor defaults in Properties;
...
add javadocs to specify where we do and don't (ticket #1491 )
2015-03-31 13:18:11 +00:00
956730c5e9
log tweak to help diagnose ServerSocket closed
2015-03-28 10:54:00 +00:00
9e18c7ea18
Streaming: Throw I2PSocketException when connection is reset,
...
display new error page in HTTP client (ticket #643 )
javadocs
2015-03-24 14:33:36 +00:00