Commit Graph

39 Commits

Author SHA1 Message Date
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
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
b6987a389c
don't time out clients based on downstream traffic 2019-08-05 08:18:37 -04:00
Jeff Becker
db2206664a
fix crashes in testnet 2019-07-29 11:10:20 -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
822f529be8
add link layer delivery feedback 2019-07-26 12:19:31 -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
Michael
75430a234c
Convert to use memFn 2019-06-02 22:19:10 +01:00
Jeff
674f272a46
Merge pull request #630 from majestrate/master
recent stability stuff
2019-05-29 08:20:25 -04:00
Michael
491fee206b
Port code to use CryptoManager over passing Crypto pointers 2019-05-28 20:45:08 +01: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
f832c9a593
use shared_ptr 2019-05-11 10:13:35 -04:00
Jeff
84ce9460f5 fix 2019-05-11 09:52:44 -04:00
Jeff Becker
018dd008ec
add custom single threaded allocator for utp buffers
fix up test net stuff
2019-05-09 16:28:56 -04:00
Jeff Becker
9b379a1659
add explicit constructor 2019-05-08 11:42:38 -04:00
Jeff Becker
9d466cd09d
pump only on send queue full and clear exit roles when closing exit 2019-05-08 08:50:33 -04:00
Jeff Becker
b68f539de6
limit outbound connections 2019-05-08 08:17:48 -04:00
Jeff Becker
e42f4c99f1
try preventing crash 2019-05-06 14:37:32 -04:00
Jeff
ac7b331ca0 unconditional pump 2019-04-29 14:34:29 -04:00
Michael
0b4d787042
More work on router docker image
- Multi-stage docker build (final image only 15MB!)
- Build in release mode
    - Fix bug with release mode
    - Fix compiler being dumb AF
    - Disable FORTIFY for now
- Enable LTO when making a staticly linked release
- Fix some gcc specific warnings
- Refactor cmake stuff into multiple files
2019-04-28 17:04:52 +01:00
Michael
9ee525a006
Fix shadowing warnings 2019-04-26 00:21:19 +01:00
Jeff Becker
2be3401e08
* refactor profiling function names
* utp link layer make ping less active, pre-emptive pump faster
2019-04-17 10:46:00 -04:00
Michael
25f10d5b11
Fix more address sanitiser issues 2019-04-02 10:03:53 +01:00
Jeff Becker
ae786feab6
Merge remote-tracking branch 'origin/master' 2019-03-29 12:14:09 -04:00
Michael
17b39b0ed4
Move UTP code to its own directory 2019-03-29 16:00:12 +00:00