Commit graph

20 commits

Author SHA1 Message Date
Joakim Frostegård
e4bdfd06fb aquatic_ws: set so_reuseport on socket, with new create_listener fn 2020-05-12 15:23:25 +02:00
Joakim Frostegård
21048727db aquatic_ws: add Config, use in many places; use cli_helpers for cli
Also add mimalloc
2020-05-12 14:58:55 +02:00
Joakim Frostegård
f3f2023306 aquatic_ws: update comments 2020-05-11 16:27:42 +02:00
Joakim Frostegård
f1a20b0c8c aquatic_ws: add some fixme comments, update ValidUntil time 2020-05-11 16:22:30 +02:00
Joakim Frostegård
b76f8cdebc aquatic_ws: shorten field names in ConnectionMeta, PeerConnection 2020-05-11 16:19:40 +02:00
Joakim Frostegård
9fc9f2fd9c aquatic_ws: network: remove inactive connections 2020-05-11 15:41:39 +02:00
Joakim Frostegård
87290f4289 aquatic_ws: rename "read_and_forward_in_messages; move around code 2020-05-11 14:42:27 +02:00
Joakim Frostegård
6136184890 aquatic_ws: network: handle network errors better 2020-05-11 14:36:47 +02:00
Joakim Frostegård
656b0da3c6 aquatic_ws: use fn handle_handshake_result in one more location 2020-05-11 14:29:27 +02:00
Joakim Frostegård
583d323c7f aquatic_ws: create fn handle_handshake_result 2020-05-11 14:25:35 +02:00
Joakim Frostegård
274799872f aquatic_ws: clean up; remove connection on IO error; update TODO 2020-05-11 14:13:58 +02:00
Joakim Frostegård
e4bb851c10 aquatic_ws: in listener, remove previous connection if it exists 2020-05-11 14:04:13 +02:00
Joakim Frostegård
0ec73d6cea aquatic_ws: network: ConnectionMap: use Token as key 2020-05-11 13:55:28 +02:00
Joakim Frostegård
a85a72ff66 WIP: aquatic_ws: network: improve connection map & token code 2020-05-11 13:45:17 +02:00
Joakim Frostegård
003e5f2df9 WIP: aquatic_ws: rewrite network code, announce working somewhat 2020-05-10 20:24:04 +02:00
Joakim Frostegård
75c8ccd523 WIP: try to get mio + tungstenite working 2020-05-10 15:25:22 +02:00
Joakim Frostegård
e6a4bca04c aquatic ws: split network code into separate functions 2020-05-08 21:26:31 +02:00
Joakim Frostegård
4d0c3d309a aquatic_ws: add tungstenite::Message encode and decode, not tested 2020-05-07 19:34:28 +02:00
Joakim Frostegård
c94b3d7d3c WIP: aquatic_ws: minor work, renaming, mock impls 2020-05-07 17:18:23 +02:00
Joakim Frostegård
cf75a07a7e WIP: aquatic_ws: start work on data structures, data flow 2020-05-07 16:49:28 +02:00