Commit graph

1167 commits

Author SHA1 Message Date
Igor Katson
0303cfa084
Fix a bug where upnp subscriptions were not renewed if the headers missed callback and event 2024-08-29 11:57:19 +01:00
Igor Katson
a44acd947b
Handling ConnectionManager subscriptions 2024-08-29 11:57:19 +01:00
Igor Katson
96eb5fec73
ConnectionManager service stub 2024-08-29 11:57:19 +01:00
Igor Katson
15b254c47c
Refactor content_directory into files 2024-08-29 11:57:18 +01:00
Igor Katson
d6b1c47d45
Add #[track_caller] to all spawns so that tokio-console works (if enabled) 2024-08-29 10:30:06 +01:00
Igor Katson
edba359400
Make tokio-console feature flag actually work 2024-08-29 10:29:55 +01:00
Igor Katson
7fda8c0a14
Add doc for --disable-upload 2024-08-28 18:07:53 +01:00
Igor Katson
fc7ae3bbe5
[Feature] option to disable upload 2024-08-28 18:02:25 +01:00
Igor Katson
9f798696ff
reduce noisy test logs 2024-08-28 17:44:46 +01:00
Igor Katson
76e0e1aa8f
send SSDP NOTIFY in parallel 2024-08-28 16:21:59 +01:00
Igor Katson
d90c4dabe7
Downgrade an SSDP message log level to debug 2024-08-28 13:45:05 +01:00
Igor Katson
b174afaa12
UPNP: send notifies on all interfaces, no need to specify hostname anymore 2024-08-28 13:38:11 +01:00
Igor Katson
0214817122
Fix root crate compilation dependencies to force sha1* 2024-08-28 13:32:42 +01:00
Igor Katson
9eed5aeb07
sending notifies to all interfaces 2024-08-28 12:33:50 +01:00
Igor Katson
b22298189c
Use quick_xml in upnp crate instead of serde_xml_rs 2024-08-28 11:50:27 +01:00
Igor Katson
52ca07fe41
Cargo upgrade all deps 2024-08-28 11:44:01 +01:00
Igor Katson
3ef9dc6655
Deduplicate cargo a bit 2024-08-28 11:27:44 +01:00
Igor Katson
14e0c9d833
Remove duplicate ut_pex message 2024-08-28 10:20:58 +01:00
Igor Katson
9b5c69f378
Shorten debug for PexPeerInfo 2024-08-28 10:20:58 +01:00
Igor Katson
9d1ef5c35c
Shorten ByteBuf trait bounds everywhere 2024-08-28 10:20:58 +01:00
Igor Katson
c7b7dc300f
impl Debug for UtPex 2024-08-28 10:20:58 +01:00
Igor Katson
90bfb85bcc
Some cleanups for utpex 2024-08-28 10:20:45 +01:00
Ivan
5e09525dd5
Feeding peers from PEX added - PoC 2024-08-28 10:10:34 +01:00
Ivan
bbc951733f
PEX: Announce support and message definition 2024-08-28 10:06:16 +01:00
Igor Katson
e9e3acf58a
Rename persistence-config to persistence-location + makefile tweaks 2024-08-28 09:53:15 +01:00
Igor Katson
398acfd3fa
Send NOT_IMPLEMENTED on BrowseMetadata 2024-08-28 09:53:14 +01:00
Igor Katson
2dedf26082
add sid to subscription manager traces 2024-08-28 09:53:14 +01:00
Igor Katson
5bb1fde46e
Disable ConnectionManager subscription not to confuse clients 2024-08-28 09:53:14 +01:00
LIAUD Corentin
9183df0ebd
fix: fixes according to PR comments
- Reset previous implementation of InMemoryExampleStorage
- Implement default (empty) behaviour of on_piece_completed in trait
  itself
- Now passing a ValidPieceIndex in on_piece_completed
2024-08-28 08:28:14 +02:00
LIAUD Corentin
35d57ae8a2
feat: add on_piece_completed method on TorrentStorage 2024-08-27 22:00:14 +02:00
Igor Katson
67f984ac6f
Trying to fix docker build 2024-08-27 18:57:32 +01:00
Igor Katson
dbf5f725c0
Trying to fix docker build 2024-08-27 18:52:33 +01:00
Igor Katson
53f21cfb2a
v7.0.0 prep further 2024-08-27 18:34:19 +01:00
Igor Katson
5717f33f68
v7.0.0 prep further 2024-08-27 18:32:17 +01:00
Igor Katson
31a254103c
Remove custom XML parsing 2024-08-27 18:26:34 +01:00
Igor Katson
a825115472
Preparing for v7.0.0 release 2024-08-27 17:55:27 +01:00
Igor Katson
b99aab850c
Preparing for v7.0.0 release 2024-08-27 17:25:56 +01:00
Igor Katson
93234c12c6
fixing build 2024-08-27 15:23:25 +01:00
Igor Katson
11d230f95a
Docker cross-compilation github workflow. 2024-08-27 15:11:59 +01:00
Igor Katson
01a4f68e20
Make rust-tls work (through ring) 2024-08-27 15:11:59 +01:00
Igor Katson
ef99380147
Respond with proper ST header on SSDP upnp requests 2024-08-27 03:43:02 +01:00
Igor Katson
c14ccd5fa2
ReuseAddr on all sytems, resuseport only on Unix 2024-08-26 21:22:00 +01:00
Igor Katson
c74d5f0866
Windows so_reuseport 2024-08-26 19:23:46 +01:00
Igor Katson
aae78b57c7
SO_REUSEADDR on upnp socket 2024-08-26 19:14:18 +01:00
Igor Katson
ab0225e02f
Signal hook only on non-Windows 2024-08-26 19:05:39 +01:00
Igor Katson
33a171147d
graceful shutdown 2024-08-26 18:45:28 +01:00
Igor Katson
bf9d75e748
Graceful shutdown 2024-08-26 18:25:22 +01:00
Igor Katson
d4c4f4d93a
Updating docker config 2024-08-26 16:29:58 +01:00
Igor Katson
10e8db4c9a
disable umask on windows 2024-08-26 14:04:34 +01:00
Igor Katson
016d759512
[Feature] add umask option 2024-08-26 12:59:57 +01:00