2083 Commits
Author SHA1 Message Date
SilentBot1andJoakim Frostegård a2ddc4b323 ws: update bytes_left to i64, rather than isize for consistent performance in 32-bit and 64-bit systems 2026-07-13 08:33:10 +02:00
SilentBot1andJoakim Frostegård 8fb1ee93dd ws: allow bytes_left to be negative
Some torrent clients use -1, rather than excluding the parameter, when a length is unknown.
2026-07-13 08:33:10 +02:00
SilentBot1andJoakim Frostegård bc780cff1c ws: add websocket_read_buffer_size to configuration 2026-07-12 22:23:52 +02:00
Joakim Frostegård e13f133859 Run cargo update
Updating autocfg v1.5.0 -> v1.5.1
    Updating bitflags v2.11.1 -> v2.13.0
    Updating bumpalo v3.20.2 -> v3.20.3
    Updating cc v1.2.62 -> v1.2.63
    Updating compact_str v0.9.0 -> v0.9.1
    Updating const-hex v1.19.0 -> v1.19.1
    Updating either v1.15.0 -> v1.16.0
    Updating generator v0.8.8 -> v0.8.9
    Updating http v1.4.0 -> v1.4.1
    Updating hyper v1.9.0 -> v1.10.1
    Updating js-sys v0.3.98 -> v0.3.99
    Updating libmimalloc-sys v0.1.47 -> v0.1.49
    Updating log v0.4.29 -> v0.4.32
    Updating memchr v2.8.0 -> v2.8.1
    Updating mimalloc v0.1.50 -> v0.1.52
    Updating mio v1.2.0 -> v1.2.1
    Updating num-conv v0.2.1 -> v0.2.2
    Updating serde_json v1.0.149 -> v1.0.150
    Updating shlex v1.3.0 -> v2.0.1
    Updating socket2 v0.6.3 -> v0.6.4
    Updating typenum v1.20.0 -> v1.20.1
    Updating wasm-bindgen v0.2.121 -> v0.2.122
    Updating wasm-bindgen-macro v0.2.121 -> v0.2.122
    Updating wasm-bindgen-macro-support v0.2.121 -> v0.2.122
    Updating wasm-bindgen-shared v0.2.121 -> v0.2.122
    Updating web-sys v0.3.98 -> v0.3.99
    Updating zerocopy v0.8.48 -> v0.8.50
    Updating zerocopy-derive v0.8.48 -> v0.8.50
2026-06-06 21:56:47 +02:00
Joakim Frostegård 1c5d3f15e0 udp: freebsd: make so_reuseport_lb setting optional 2026-06-06 21:56:47 +02:00
Joakim Frostegård 2c5c874b28 udp_protocol: allow announce extensions field 2026-06-06 21:56:47 +02:00
Joakim Frostegård 28bf7f8e24 Run cargo update 2026-05-17 12:27:11 +02:00
Joakim Frostegård 98dfea8491 Update TODO 2026-05-17 12:27:11 +02:00
Joakim Frostegård ebf8091e10 udp: go back to HashMap for torrent maps 2026-05-17 12:27:11 +02:00
Joakim Frostegård 17c3f5f4c8 udp: fix comment typo 2026-05-17 12:27:11 +02:00
Joakim Frostegård 2d5b2f181f udp: FreeBSD: set REUSEPORT_LB for IPv6 as well 2026-05-17 12:27:11 +02:00
Joakim Frostegård a4bf85c6b8 Update TODO 2026-05-17 12:27:11 +02:00
Joakim Frostegård ff5ac56fff udp: rename some variables, improve some comments 2026-05-17 12:27:11 +02:00
Joakim Frostegård 56f95ab802 udp: remove nesting TorrentData struct, use IndexMap for shards 2026-05-17 12:27:11 +02:00
Joakim Frostegård 3b63e1ac6f Update CHANGELOG 2026-05-11 14:04:02 +02:00
Joakim Frostegård 9344ddf147 udp: improve cleaning test 2026-05-11 14:04:02 +02:00
Joakim Frostegård 262b7224a8 Update README files 2026-05-11 14:04:02 +02:00
Joakim Frostegård 72f3cc2354 udp: enable balancing requests across workers on FreeBSD 2026-05-11 14:04:02 +02:00
Joakim Frostegård a601917c2a udp: keep locks for shorter period while cleaning 2026-05-11 14:04:02 +02:00
Joakim Frostegård 6ac034a7b7 udp: fix rare possible issue of peers not being added to swarm 2026-05-11 14:04:02 +02:00
Joakim Frostegård 27a4c14c49 udp: implement optional full scrape exports to a text file 2026-05-11 09:58:22 +02:00
Joakim Frostegård b47b04ea10 Update CHANGELOG 2026-05-10 14:00:17 +02:00
Joakim Frostegård 8f852826a9 http: fix dropped futures 2026-05-10 14:00:17 +02:00
Joakim Frostegård f0c70a17ab Change monotonicity error handling (ValidUntil etc)
Errors are now logged and in some cases, behaviour changes.
2026-05-10 14:00:17 +02:00
Joakim Frostegård 5b0c3b3e7d udp: improve test of torrent cleaning 2026-05-10 14:00:17 +02:00
Joakim Frostegård 6731f647af Add unit and integration tests regarding torrent cleaning 2026-05-10 14:00:17 +02:00
Cas_andJoakim Frostegård 90f61a5908 fix: update webtorrent.dev UI URL 2026-05-08 19:40:38 +02:00
Joakim Frostegård dd1d70f339 Update CHANGELOG 2026-05-08 13:11:05 +02:00
Joakim Frostegård b67a5e8421 udp protocol: don't unnecessarily create error 2026-05-08 13:11:05 +02:00
Joakim Frostegård 73501f07b7 Run cargo fmt 2026-05-08 13:11:05 +02:00
Joakim Frostegård 3957909694 Streamline udp_protocol with new zerocopy improvements 2026-05-08 13:11:05 +02:00
Joakim Frostegård a7e8e241a5 Initial update to zerocopy v0.8 2026-05-08 13:11:05 +02:00
Joakim Frostegård 79d377754d Update CHANGELOG 2026-05-08 10:28:26 +02:00
Joakim Frostegård 68c0b17bfc Remove rust-version directives
It is not being properly kept track of / tested
2026-05-08 10:28:26 +02:00
Joakim Frostegård 521d44d8a6 Update TODO 2026-05-08 10:28:26 +02:00
Joakim Frostegård e7dcb87bae Run cargo fmt 2026-05-08 10:28:26 +02:00
Joakim Frostegård 9a758c200c Fix ws test build failure 2026-05-08 10:28:26 +02:00
Joakim Frostegård f3bc06ab74 Update TODO 2026-05-08 10:28:26 +02:00
Joakim Frostegård 1c8b0a058b Update bencher toml version 2026-05-08 10:28:26 +02:00
Joakim Frostegård c01385db75 Fix udp io uring build error (due to rand version bump) 2026-05-08 10:28:26 +02:00
Joakim Frostegård ab4f7ffcc8 ws, http: Use DenseSlotMap instead of deprecated HopSlotMap
This may be slower for request handling but will not pathologically
slow down cleaning
2026-05-08 10:28:26 +02:00
Joakim Frostegård 91265a9c80 Update metrics dependencies 2026-05-08 10:28:26 +02:00
Joakim Frostegård 67ad15eb7f Update criterion dependency 2026-05-08 10:28:26 +02:00
Joakim Frostegård 723471c268 Update http_protocol bendy dependency 2026-05-08 10:28:26 +02:00
Joakim Frostegård dd813a3c24 Update some ws dependencies 2026-05-08 10:28:26 +02:00
Joakim Frostegård 624e2aca5e Update some http dependencies 2026-05-08 10:28:26 +02:00
Joakim Frostegård 90ab4df7fe Update ws docs: raise memlock limit amount 2026-05-08 10:28:26 +02:00
Joakim Frostegård 3d6c60cb08 Update some ws dependencies 2026-05-08 10:28:26 +02:00
Joakim Frostegård 6956806fc6 Update multiple udp dependencies 2026-05-08 10:28:26 +02:00
Joakim Frostegård e4bd2ffcb4 Run cargo update 2026-05-08 10:28:26 +02:00