Jeff Becker
3c3338e801
Merge remote-tracking branch 'origin/master' into memlink
2019-08-21 10:53:25 -04:00
Jeff
ecf3c37d2e
Merge pull request #768 from majestrate/sane-limits
...
Sane limits
2019-08-14 06:28:28 -04:00
Michael
16cdfbd5f0
clang-tidy modernize pass
2019-08-12 16:52:58 +01:00
Jeff Becker
4c9675ffe7
ensure timestamp is not in future
2019-08-12 09:26:35 -04:00
Jeff Becker
e3c8761cf5
pump to make stuff speed up if stuck
2019-08-12 09:22:48 -04:00
Jeff Becker
4f5c69c07e
Merge branch 'concise-utp-timeout-2019-08-09' into utp-write-split-2019-08-09
2019-08-10 06:59:05 -04:00
Jeff Becker
83de715f50
make sure stats are called every 1s
2019-08-10 06:51:02 -04:00
Jeff Becker
e11ca27d1f
pumpwrite -> pump
2019-08-09 15:57:19 -04:00
Jeff Becker
79aaa8a021
when pushing large amounts per tick try not to bottleneck on utp_writev
2019-08-09 15:55:05 -04:00
Jeff Becker
f4d2f808ec
make it compile
2019-08-09 08:49:06 -04:00
Jeff Becker
15e8c070c6
more consise utp timeout logic
2019-08-09 08:46:33 -04:00
Jeff Becker
a34b48e117
make it compile
2019-08-08 07:19:50 -04:00
Jeff Becker
3dd79d7137
also check if we are a public router when checking for timeout in read direction
2019-08-08 07:16:47 -04:00
Jeff Becker
c1f33bb1ac
initial mempipe implementation
2019-08-07 12:33:29 -04:00
Jeff
60d9d72d4c
Merge pull request #751 from majestrate/master
...
dont close backlogged client connections
2019-08-05 08:28:39 -04:00
Jeff Becker
b6987a389c
don't time out clients based on downstream traffic
2019-08-05 08:18:37 -04:00
Jeff Becker
768c6f7367
dont close socket on bad state
2019-08-02 09:43:03 -04:00
Rick V
f6c97091fd
clang-format
2019-08-01 22:25:48 -05:00
Jeff Becker
a9f524383a
close dropped session later in event loop
2019-08-01 08:33:54 -04:00
Jeff Becker
4cfc3481dc
remove session->Close()
2019-08-01 08:28:26 -04:00
Jeff Becker
f37552bbd3
properly close dropped inbound sessions on utp
2019-08-01 08:20:07 -04:00
Jeff Becker
db2206664a
fix crashes in testnet
2019-07-29 11:10:20 -04:00
Jeff Becker
b0406e1a76
on logic queue overflow put job on timer instead
2019-07-28 13:13:52 -04:00
Jeff Becker
b8904ab0f4
fix compile for tests
2019-07-28 11:33:18 -04:00
Jeff Becker
4eff86d681
use size_t
2019-07-28 11:28:45 -04:00
Jeff Becker
835b334a59
* increase utp buffers
...
* disallow inbound traffic on outbound utp link
* const correctness
2019-07-28 11:26:38 -04:00
Jeff Becker
16e6ab2193
propagate all utp link errors
2019-07-28 09:00:12 -04:00
Jeff Becker
822f529be8
add link layer delivery feedback
2019-07-26 12:19:31 -04:00
Thomas Winget
baf8019fe5
Refactor Router code into more classes
...
This commit refactors functionality from the Router class into separate,
dedicated classes.
There are a few behavior changes that came as a result of discussion on
what the correct behavior should be.
In addition, many things Router was previously doing can now be provided
callback functions to alert the calling point when the asynchronous
action completes, successfully or otherwise.
2019-07-25 14:11:02 -04:00
Jeff Becker
cdf02eae6e
only issue deferred utp acks before timeout checks in pump
2019-07-18 10:10:08 -04:00
Jeff Becker
d465400840
revert
2019-07-18 09:34:46 -04:00
Jeff Becker
59653119fa
set timestamps to zero
2019-07-18 09:31:28 -04:00
Jeff Becker
961dd247ce
when lastSend is zero don;t time out
2019-07-18 09:30:43 -04:00
Jeff Becker
0b090b671a
relax timeouts for handshake and make format
2019-07-01 14:06:17 -04:00
Jeff Becker
915b11b0bb
ping on send idle not recv idle
2019-07-01 13:53:08 -04:00
Jeff Becker
abb1924eef
pump write when handshaking
2019-07-01 13:48:46 -04:00
Jeff Becker
45384deaa0
close after 30 seconds of dead
2019-07-01 13:21:34 -04:00
Jeff Becker
146cc8d3b2
add more metrics
2019-06-28 15:02:00 -04:00
Michael
95646d2d87
Publish metric tags
2019-06-13 23:09:58 +01:00
Jeff Becker
223f2702d3
Merge branch 'fix-big-ooooofff'
2019-06-06 06:53:54 -04:00
Michael
75430a234c
Convert to use memFn
2019-06-02 22:19:10 +01:00
Jeff Becker
9deafa4cb8
use libuv
2019-06-02 17:17:05 -04:00
Jeff
674f272a46
Merge pull request #630 from majestrate/master
...
recent stability stuff
2019-05-29 08:20:25 -04:00
Jeff Becker
762a0c534f
Merge remote-tracking branch 'origin/master'
2019-05-29 08:09:02 -04:00
Michael
491fee206b
Port code to use CryptoManager over passing Crypto pointers
2019-05-28 20:45:08 +01:00
Jeff Becker
2897141036
make format and introduce new function EnsureRouter on router to check nodedb or do dht lookup
2019-05-28 07:35:26 -04:00
Jeff Becker
fa25bfc797
more strict connection timeouts
2019-05-25 12:27:42 -04:00
Jeff Becker
56e8147861
delete inbound messages right after being handled
...
be more virgous with utp acks
2019-05-25 10:46:22 -04:00
Jeff Becker
73f1d34239
make format and revert stupid alloc changes
2019-05-20 08:19:33 -04:00
Jeff Becker
351c241c0f
more
2019-05-15 12:15:20 -04:00