1f92232253
Findbugs all over
2018-08-26 13:50:40 +00:00
e243e0ddba
streaming minor tweaks
2018-08-23 15:20:29 +00:00
ea3ce805e4
log typo
2018-08-19 21:02:20 +00:00
a51d260a78
Streaming: More efficient copying in MessageInputStream
...
Log tweaks
2018-07-29 13:30:02 +00:00
b5ed39f10d
Streaming: Throw exception on read timeout (ticket #2292 )
...
Log tweaks
2018-07-28 21:44:56 +00:00
6c3cf9bf77
I2CP: Add option for forcing gzip on/off per-message
...
Use option in streaming SYN and CLOSE packets
2018-07-15 13:50:31 +00:00
9d2f684ac7
Streaming: Change enforce protocol default to true
2018-07-11 13:04:13 +00:00
2d24f21327
Streaming: Enforce valid port in setters
2018-06-26 18:48:04 +00:00
d3c28a6b44
Streaming: Don't send HTTP response to HTTPS request
2018-05-05 22:21:01 +00:00
646fe20726
Streaming: Don't exceed configured tag settings when overriding
2018-02-19 14:31:51 +00:00
826d8ca07f
i2ptunnel: Retry accept after router soft restart (ticket #2003 )
...
This sends the router restart indication from I2CP router side
to client side to streaming to I2PTunnelServer via
a new streaming exception.
2018-02-18 13:53:50 +00:00
cabf1aa3c5
Streaming: configurable response when over connection limits (ticket #2145 )
...
Drop when way over limits.
Default to HTTP 429 for HTTP Server tunnels
Increase recently-closed cache size
2018-02-16 19:49:49 +00:00
d8c3f617aa
Streaming: Consistent exception message on socket close
2018-01-20 11:34:16 +00:00
75e6539f81
fix streaming test take 2
2017-12-06 14:41:05 +00:00
956c9607ff
hopefully fix streaming test
2017-12-06 13:09:53 +00:00
100d307037
i2ptunnel: Propagate resets from streaming to Socket and vice versa (ticket #2071 )
2017-12-02 23:12:19 +00:00
e9de0a14b9
Streaming: Send reset when receiving more data after locally closed,
...
rather than acking (ticket #2071 )
2017-12-02 22:32:03 +00:00
17b72dd549
Streaming: Double the RTO on congestion (ticket #1939 )
...
This prevents being stuck at a window size of 1, retransmitting every packet,
never updating the RTT or RTO. See RFC 6298 section 5 item 5.5.
2017-12-01 14:10:57 +00:00
ad056bcef5
Streaming: Fix bug causing hangs on loopback and preventing desired ack behavior (ticket #1939 )
2017-11-22 00:10:52 +00:00
14e9315262
Streaming: log tweak to assist in fixing ticket #1939
2017-11-19 21:32:12 +00:00
e7cfb2d6fe
Streaming: Add reset() to I2PSocket API
...
i2ptunnel: Reset I2P socket on TCP socket errors, in standard servers
that don't have protocol responses
SAM: Reset I2P socket on handler errors
2017-03-13 14:09:27 +00:00
ad810de747
i2ptunnel: Add subsession support to servers, no UI yet
...
Update subsession javadocs
2017-03-13 13:48:36 +00:00
48a055d462
Streaming: Don't change buffer size when max message size is adjusted
...
Only change max message size when buffer is empty
2017-03-09 19:40:17 +00:00
2d8f0c2956
Streaming: Fix optional delay and choking (tickets #1046 , 1939)
...
- Don't always send optional delay
- Don't overwrite choking delay with non-choking delay
- Don't send optional delay of 0 every 8 packets
- Don't set options both in CDR.buildPacket() and Conn.sendPacket()
- Set or clear optional delay in packet when retransmitting
- Move choking state variables from ConnectionOptions to Connection
- Move updateAcks() call from PacketLocal to PacketQueue
- Fully implement choking and un-choking
- Reduce periods for some stats
- Comment out some debug logging
- Cleanups
- Fix javadoc HTML broken in previous checkin
2017-02-09 17:24:03 +00:00
a11bd7cbe7
I2CP: Return local delivery failure on queue overflow (ticket #1939 )
2017-02-08 15:22:41 +00:00
843b66d61e
Streaming: Don't hard fail on expired message error (ticket #1748 )
2017-02-05 19:39:15 +00:00
a85546534e
Streaming: Don't always send optional delay (ticket #1046 )
...
javadocs
2017-02-05 14:55:13 +00:00
9dab3b0dfe
javadoc fixes part 12 (ticket #1894 )
2017-01-27 02:27:53 +00:00
82064760d5
javadoc fixes part 11 (ticket #1894 )
2017-01-27 02:19:47 +00:00
bd1354f95b
javadoc fixes part 10 (ticket #1894 )
2017-01-27 01:49:19 +00:00
fb74f41692
javadoc fixes part 9 (ticket #1894 )
2017-01-27 01:41:06 +00:00
b0bba18f33
Build: Add manifest attributes for java version to all jars and wars
2016-11-17 15:14:50 +00:00
08d1ea89bf
Build: Set Java 7 build target for all jars;
...
embedders (esp. Android) targetting 1.6 must
set javac.version=1.6 in override.properties and set
both bootclasspath variables.
2016-10-26 16:56:13 +00:00
cee3ebbb23
less wtf
2016-10-21 15:20:35 +00:00
9c0ae14609
Streaming: Fix debug NPE (ticket #1821 )
2016-08-02 14:56:03 +00:00
37ebf04bb5
Streaming: Kill accept() when session disconnects
2016-07-16 16:59:07 +00:00
e146480401
More manifest attributes in streaming jars
2016-06-15 18:34:44 +00:00
9a9144321d
Add build target for Maven Central
...
Requires the Maven Ant Tasks to be installed. On Debian:
sudo apt-get install libmaven-ant-tasks-java
2016-06-13 06:02:48 +00:00
0e941625cf
Streaming: Return I2PSocketAddress from StandardSocket methods (ticket #1321 )
2016-05-25 14:55:30 +00:00
5a2975ba65
SOCKS: Fix NPE on lookup failure in SOCKS 4a
...
Remove duplicate lookups in SOCKS 5
Log tweaks
Streaming, i2ptunnel: Catch null destination in connect() calls
Synchronize Connection.setRemotePeer(); remove _remotePeerSet field
2016-04-13 13:40:46 +00:00
e65bd26ad5
I2PTunnel:
...
- Add options to block by referer and user-agent
- Increase size of access list field in form
- Log blocked destinations in b32, not b64
- Strip X-Runtime header
Streaming;
- Log blocked destinations in b32, not b64
2016-02-13 15:31:38 +00:00
691e274ca7
Linting dep-ann: Added @Deprecated annotations in i2psnark, i2ptunnel, ministreaming, routerconsole, streaming
2016-02-06 22:38:10 +00:00
b6bd497e52
Replaces instances of getBytes() in apps classes
2015-12-20 02:11:42 +00:00
bb56a11bda
propagate from branch 'i2p.i2p.unittests' (head 53586f73fb813f519cdb6a1f7b1b40efec2e35dc)
...
to branch 'i2p.i2p' (head 628a2c591ca44095e2f93acd026046d4512cf692)
2015-12-08 05:27:03 +00:00
b1668bbc11
Fixup after prop, history, bump -3
2015-11-27 21:10:10 +00:00
9ce8fced02
propagate from branch 'i2p.i2p.zzz.sam' (head b328f0edb961263d7606ea964ecb3f7c319ca1cf)
...
to branch 'i2p.i2p' (head 7b4c0525be182722ef2cc7b564691f27d997da3b)
2015-11-27 20:58:18 +00:00
730dea377a
Streaming: Fix recognition of PoisonPacket in ConnectionHandler
2015-11-25 16:48:25 +00:00
51c5da3f72
lint: don't catch Exception, catch RuntimeException or checked exception.
...
omits SAM, BOB, reflection, commented-out code, and a few other places
2015-11-12 18:49:13 +00:00
1451dc6ece
More: Don't use DataHelper.readLong() for 1-byte reads, for efficiency
2015-11-08 20:43:42 +00:00
5f50f23fe1
Streaming: Split blacklist into one for EC and one for Ed
2015-11-05 21:37:21 +00:00