Commit graph

53 commits

Author SHA1 Message Date
6df6411b72 fix clippy 2023-01-31 23:57:33 +01:00
e4c0be848d
Ability to configure ping timeout interval 2022-09-19 19:46:41 +02:00
8ab6256c3b
No longer need to derive Clone on message types 2022-09-13 12:12:55 +02:00
f022a77f97
Add documentation 2022-09-12 17:43:10 +02:00
9bf29a7a18
Merge branch 'fix-ping' into stream-body 2022-09-02 14:15:02 +02:00
c865cc9f9c
Merge branch 'main' into fix-ping 2022-09-02 14:02:08 +02:00
8c73b27655
Update dependencies 2022-09-02 14:00:52 +02:00
22d96929d5
Merge branch 'fix-ping' into stream-body 2022-09-01 14:23:10 +02:00
7703659742
Be more lenient on pings 2022-08-31 16:25:36 +02:00
81b2ff3a4e
Ping less frequently 2022-08-31 15:06:21 +02:00
c358fe3c92
Hide streaming versions as much as possible 2022-07-22 10:55:37 +02:00
4934ed726d
Propose alternative API 2022-07-21 20:22:56 +02:00
7d148c7e76
One possibility, but I don't like it 2022-07-21 19:25:07 +02:00
44bbc1c00c
Rename AutoSerialize into SimpleMessage and refactor a bit 2022-07-21 19:05:51 +02:00
f35fa7d18d
Move things around 2022-07-21 17:37:52 +02:00
4745e7c4ba further work on streams
most changes still required are related to error handling
2022-06-08 09:54:38 +02:00
12fb3516c0
Also add addresses from incoming connections 2022-05-09 12:00:01 +02:00
677c471548
Handle the possibility of several alternative IP addresses for peers 2022-05-09 11:54:34 +02:00
22eaa0f404
Add logic to handle ping timeouts and other failures 2022-03-15 17:03:41 +01:00
96d1f14966
Avoid logging full node IDs 2022-02-21 16:57:07 +01:00
9b64c27da6
clippy & fmt 2021-10-22 15:20:07 +02:00
57327f10e2
fix again 2021-10-21 12:33:35 +02:00
d15378a224
invoke handler that wasn't invoked 2021-10-21 12:24:42 +02:00
94c01a3565
try fix 2021-10-21 12:14:19 +02:00
dfb0ebb8e1
Full mesh peering strategy uses our local address if necessary 2021-10-15 15:34:03 +02:00
8a0bfa0ff6
Change call() to take a ref to the message to be sent
Handlers also receive a ref
2021-10-14 16:11:07 +02:00
fba49cf93d
Add .is_up() on connection state 2021-10-14 14:13:44 +02:00
01a2737bd8
Document 2021-10-14 11:35:05 +02:00
7eea46dcf3
Properly implement watches for Basalt 2021-10-13 17:30:41 +02:00
70839d70d8
Try to handle termination and closing of stuff properly 2021-10-13 17:12:13 +02:00
8dede69dee
Fix netapp protocol & adapt basalt to new api 2021-10-13 12:33:14 +02:00
f87dbe73dc
WIP v0.3.0 with changed API 2021-10-12 17:59:46 +02:00
b14515a422
Rewrite because clippy didn't understand drop 2021-10-12 13:44:42 +02:00
50806b54b7
fix cargo fmt style 2021-10-12 13:33:42 +02:00
940750b5db
fix clippy on basalt code 2021-10-12 13:28:57 +02:00
74e661febe
Fix clippy lints 2021-10-12 13:18:24 +02:00
7753b789b7
Upgrade to tokio 1.0 2021-10-12 13:07:34 +02:00
c05600d749 make basalt optionnal during compilation 2021-03-10 22:32:14 +01:00
4e85862a85 Publish Bᴀsᴀʟᴛ 2021-02-18 12:07:04 +01:00
e761f2f6ef Merge branch 'master' of git.deuxfleurs.fr:lx/netapp 2020-12-14 11:22:29 +01:00
3aa46dfe95 We don't want to publish this 2020-12-14 11:19:59 +01:00
6742638c81 Replace pk,pubkey,PublicKey by id,NodeID,etc 2020-12-12 21:14:15 +01:00
5040198972 Make it passive-client-friendly 2020-12-12 19:27:18 +01:00
dbb15807b9 Tentative trace 2020-12-11 20:04:49 +01:00
a7d92689e0 tiny basalt change 2020-12-11 15:58:21 +01:00
5a9ae8615e Do not close connections immediately on close signal, await for remaining responses 2020-12-07 13:35:24 +01:00
b247f02c29 Don't close connection at first (stupid) excuse 2020-12-04 17:12:10 +01:00
45766aa5d7 a log 2020-12-04 15:03:48 +01:00
0b041c77f4 more logging 2020-12-04 14:06:06 +01:00
b63179c699 Logging 2020-12-04 13:58:34 +01:00