Commit graph

990 commits

Author SHA1 Message Date
Igor Katson
ecf41de72b
Restore URLs with better filenames 2024-09-02 11:51:08 +01:00
Igor Katson
8d10a8a69c
UPNP: better ID handling + only ASCII in URLs 2024-09-02 11:41:33 +01:00
Igor Katson
65623f2074
Escape XML instead of CDATA. Samsung TVs only understand escapes, but not CDATA. 2024-09-02 11:14:33 +01:00
Igor Katson
79a8451519
Implement parent_id=-1 2024-09-02 11:14:09 +01:00
Igor Katson
8ab3d4d428
container parent default -1 2024-09-02 11:14:09 +01:00
Igor Katson
2d4b467055
Implement BrowseMetadata 2024-09-02 11:13:49 +01:00
Igor Katson
206bcde06f
Attempting to connect even if we have full torrent (as other clients do, to attempt upload) 2024-08-31 12:56:47 +01:00
Igor Katson
b60ec6d919
peer has full torrent debug message 2024-08-31 12:53:56 +01:00
Igor Katson
b60850946e
Fix: unchoke now sent after Bitfield properly, not before 2024-08-31 12:15:22 +01:00
Igor Katson
3f014ee80a
Sending your ip as part of peer_connection.rs 2024-08-31 12:15:22 +01:00
Igor Katson
e9acbaa9dc
Merged v7.0.1 2024-08-31 12:15:22 +01:00
Igor Katson
e25612b73f
switch ring to aws-lc-rs 2024-08-31 12:15:22 +01:00
Igor Katson
7e40c71852
More granular feature handling 2024-08-31 12:15:22 +01:00
Igor Katson
9a6039f5ee
upnp-serve compiles on its own 2024-08-31 12:15:22 +01:00
Artrix9095
0b2a11ec5e Standardized m3u8 formatting 2024-08-29 14:58:46 -07:00
Igor Katson
0d0ba84ef6
Report progress when validating fastresume data 2024-08-29 15:43:28 +01:00
Igor Katson
9225e126d9
Check SOME fastresume data, dont trust it completely. 2024-08-29 15:43:19 +01:00
Igor Katson
babe470f9a
Add discover example to upnp 2024-08-29 14:19:20 +01:00
Igor Katson
1d48a5198b
Send client name in extended handshake 2024-08-29 13:08:55 +01:00
Igor Katson
bafd958d0d
make all fields in utpex optional 2024-08-29 13:01:12 +01:00
Igor Katson
0bb1c77456
Decode more peer ids 2024-08-29 12:48:14 +01:00
Igor Katson
0960a768e6
Implement stubs for actual connection manager methods 2024-08-29 12:23:18 +01:00
Igor Katson
99ffeec323
Implement GetProtocolInfo 2024-08-29 12:06:03 +01:00
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