Commit Graph

44 Commits

Author SHA1 Message Date
Vort
d74033dd2b tune RTT calculations 2024-03-15 09:06:33 +02:00
Vort
3ceb64db2e 1. Use EWMA for stream RTT estimation;
2. Drop window size by 10% instead of 50% in case of resend.

Change is based on code by onon.
2024-03-06 15:06:04 +02:00
orignal
530c353b00 don't send Ack with NACK immediately but after 2 milliseconds 2024-01-27 12:17:59 -05:00
orignal
21259204b1 eliminate send buffer mutex completely 2023-11-14 09:39:36 -05:00
orignal
6d204b4d7b shorter streaming I2NP data messages 2023-03-26 22:12:43 -04:00
orignal
6f01ebc0a5 check target destination 2023-03-11 08:44:07 -05:00
R4SAS
503f522cc3
[style] clean trailing spaces and tabs
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2023-01-03 21:25:19 +03:00
orignal
78357baca4 sync AcceptStream 2022-11-11 13:31:54 -05:00
orignal
c6a6a4e0e8 sync Receive from stream 2022-11-08 18:34:59 -05:00
orignal
c6e8873d57 always compress SYN packet 2022-10-24 19:21:58 -04:00
orignal
935e93eb36 minimal send ack interval 2021-12-05 17:54:34 -05:00
R4SAS
edc0162163
clean line trailing spaces and tabs
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2021-11-27 23:30:35 +03:00
Dimitris Apostolou
8ee9c437e1
Fix typos 2021-11-13 19:07:50 +02:00
orignal
b10e5ce358 send ping 2021-09-26 11:20:20 -04:00
R4SAS
d2faec70be
[gzip] do not initialize deflator if gzip is not enabled for tunnel
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2021-09-14 14:48:21 +03:00
orignal
f7f36568ef set gzip compression to false by default 2021-09-12 14:29:43 -04:00
orignal
49b3ac7f77 don't reschedule resend timer for terminated streams 2021-08-11 12:23:43 -04:00
orignal
5781335814 save and check last stream 2021-06-29 19:08:11 -04:00
orignal
1a9e11d86d don't send updated LeaseSet through a terminated session 2021-01-18 12:58:27 -05:00
orignal
746f53ba07 use SendBufferQueue for queued messages from I2P 2020-11-29 14:59:34 -05:00
orignal
fd9229c467 ping/pong for streaming 2020-09-30 17:12:28 -04:00
R4SAS
8bae4975fb add copyright headers
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2020-05-22 18:14:53 +00:00
orignal
c7c6e5917a Streaming MTU size 1812 for ECIESX25519AEADRatchet 2020-05-18 20:45:25 -04:00
orignal
e301387896 don't calculate checsum for Data message send through ECIESX25519AEADRatchet session 2020-05-02 11:13:40 -04:00
orignal
5eec580727 delete strem from destination upon termination 2020-03-04 18:31:22 -05:00
orignal
1e9a53da3f delete stream by id for HTTP interface 2020-03-04 15:54:09 -05:00
orignal
32e2f0b1fa correct termination of streaming destination 2020-02-15 16:30:10 -05:00
orignal
254d2b82b3 fixed #1393. store streams by recvStreamID 2019-07-26 14:23:21 -04:00
orignal
2cac9b03ff common code for offline signatures 2019-02-06 13:36:03 -05:00
orignal
6d9e5147b5 handle offline signature 2019-02-05 15:32:18 -05:00
Jeff Becker
0ced38cdcb
tabify 2018-04-25 11:27:56 -04:00
Jeff Becker
4643c92d33
Initial SAM cleanup 2018-04-24 09:45:16 -04:00
Jeff Becker
eefbbd4efe
remove all related streaming limit members 2018-04-16 09:47:35 -04:00
Jeff Becker
83932a6f02
remove streaming bans 2018-04-16 09:38:32 -04:00
Jeff Becker
06020b8f54
re-enable packet pool 2018-01-20 13:06:08 -05:00
Jeff Becker
43a751ee0b
Merge remote-tracking branch 'purple/openssl' into streaming_race_fix_2018_01_15 2018-01-15 08:25:58 -05:00
Jeff Becker
207212557e
fix sam race conditions 2018-01-15 08:19:57 -05:00
yangfl
50ba52756f fix mixing tabs and spaces 2018-01-13 22:51:02 +08:00
yangfl
46f62e1af9 remove trailing whitespaces 2018-01-06 22:24:03 +08:00
Jeff Becker
d5e9fc7677
fix race condition 2018-01-01 08:28:42 -05:00
orignal
a5b1b24fee implement i2p.streaming.connectDelay option 2017-11-24 15:37:17 -05:00
Jeff Becker
a4b39a3648
disable connection limiting by default 2017-11-13 07:26:27 -05:00
brain5lug
8c8127dda6 fixed perfect forwarding for the memory pool 2017-09-29 00:03:07 +03:00
Jeff Becker
4cc3b7f9fb restructure build to separate the 3 main components into 3 subdirectories
libi2pd for core libs

libi2pd_client for i2pd client libs

daemon for i2pd daemon libs
2017-04-21 06:33:45 -04:00