Commit graph

30 commits

Author SHA1 Message Date
Joakim Frostegård
d172fc4f8c Upgrade socket2 2021-08-15 23:32:59 +02:00
Joakim Frostegård
32541c5c15 Upgrade hashbrown 2021-08-15 22:29:09 +02:00
Joakim Frostegård
d0e716f80b Run rustfmt, clean up aquatic_http_protocol/Cargo.toml 2021-08-15 22:26:11 +02:00
Joakim Frostegård
f9626ade57 Upgrade quickcheck to 1.0, adjust code, optimizing a slow test 2021-02-10 18:36:23 +01:00
Joakim Frostegård
e1260d14de Update rand to 0.8 and rand_distr to 0.4 2021-02-10 18:36:23 +01:00
Joakim Frostegård
bbc351bb59 Update privdrop to 0.5 2021-02-10 18:36:23 +01:00
Joakim Frostegård
ac6eefc30f Update crossbeam-channel to 0.5 2021-02-10 18:36:23 +01:00
Joakim Frostegård
fe11ed138a Use (patched) crates.io deps for crates, add some package metadata 2020-09-13 17:30:26 +02:00
Joakim Frostegård
66e9882f48 Update dependencies 2020-09-10 23:23:21 +02:00
Joakim Frostegård
6ee8ed4895 aquatic_common: extract response peers: don't return sender
Seems to fix or at least help with some issues with
real clients being slow to initiate transfers
2020-08-16 23:07:39 +02:00
Joakim Frostegård
7c8729f256 aquatic_udp: replace some expect calls with anyhow error returns 2020-08-13 04:58:12 +02:00
Joakim Frostegård
f4187f4368 aquatic_udp: use log crate instead of eprintln, add LogLevel to Config 2020-08-13 04:52:50 +02:00
Joakim Frostegård
6b3d9e00d8 aquatic_udp: drop unused channel senders & receivers 2020-08-13 02:08:19 +02:00
Joakim Frostegård
9efc1fc66a add aquatic crate with master executable, refactor cli_helpers 2020-08-13 00:13:01 +02:00
Joakim Frostegård
8d58f8bb70 init logger in aquatic_cli_helpers crate 2020-08-02 21:21:58 +02:00
Joakim Frostegård
ea6a4c2635 refactor aquatic_udp_protocol, notably make converters trait fns 2020-08-02 01:23:11 +02:00
Joakim Frostegård
6018450414 aquatic_udp: stop reregistering socket 2020-08-02 00:46:47 +02:00
Joakim Frostegård
561cc3db55 fix more clippy warnings 2020-08-02 00:36:56 +02:00
Joakim Frostegård
c202d9ba41 udp, ws load test: fix clippy errors 2020-08-01 23:50:01 +02:00
Joakim Frostegård
a3a1d1606b WIP: udp: add ipv6 support
Returning IPv6 peers doesn't really work with UDP. It is not supported by
https://libtorrent.org/udp_tracker_protocol.html. There is a suggestion in
https://web.archive.org/web/20170503181830/http://opentracker.blog.h3q.com/2007/12/28/the-ipv6-situation/
of using action number 4 and returning IPv6 octets just like for IPv4
addresses. Clients seem not to support it very well, but due to a lack of
alternative solutions, it is implemented here
2020-07-31 05:37:58 +02:00
Joakim Frostegård
f2db4a43b9 Update lots of dependencies 2020-07-21 00:58:56 +02:00
Joakim Frostegård
8dcf3e106c aquatic_udp default config: don't print statistics 2020-05-30 14:55:27 +02:00
Joakim Frostegård
2f13e1e1a8 rename crate "cli_helpers" to "aquatic_cli_helpers" 2020-05-25 19:27:22 +02:00
Joakim Frostegård
bc4ada104d rename crate "bittorrent_udp" to "aquatic_udp_protocol" 2020-05-25 19:21:52 +02:00
Joakim Frostegård
96991562e3 aquatic_udp: use socket2 instead of net2 2020-05-25 18:33:07 +02:00
Joakim Frostegård
840f67fc8d aquatic_udp: move some config vars to new substruct, ProtocolConfig 2020-05-25 18:04:47 +02:00
Joakim Frostegård
526faa9aab cli_helpers: use anyhow in app fn; aquatic_ws: reorganize error handling 2020-05-23 14:05:50 +02:00
Joakim Frostegård
4216452fc9 aquatic_udp, aquatic_ws: bind to 0.0.0.0:3000 by default 2020-05-17 11:58:00 +02:00
Joakim Frostegård
5c83af9f88 Move some code from aquatic_udp into aquatic_common 2020-05-11 17:06:37 +02:00
Joakim Frostegård
1b8d74e26d rename aquatic to aquatic_udp, same for bench and load test crates 2020-05-11 16:55:46 +02:00