Commit graph

209 commits

Author SHA1 Message Date
renovate[bot]
4b4a67a3b4 fix(deps): update rust crate actix-web to 4.4.1 2023-12-24 18:27:49 +00:00
renovate[bot]
1ce21d827e fix(deps): update rust crate futures-util to 0.3.30 2023-12-24 16:59:49 +00:00
renovate[bot]
2c41c17c36 fix(deps): update rust crate tokio to 1.35.1 2023-12-19 18:29:50 +00:00
renovate[bot]
0338e8b68f chore(deps): lock file maintenance 2023-12-18 21:30:41 +00:00
renovate[bot]
c0ac30e886 fix(deps): update rust crate reqwest to 0.11.23 2023-12-18 21:30:17 +00:00
renovate[bot]
d72b2c421c chore(deps): lock file maintenance 2023-12-18 00:38:40 +00:00
Kavin
cd8cf245c0
Set content-length and range query parameter properly. 2023-12-15 17:57:46 +00:00
Kavin
7c72df8f0d
Add error logging for UMP Transforming Errors in the transformed stream 2023-12-14 22:48:39 +00:00
Kavin
437ee17508
Poll should be pending when there's not enough data to read. 2023-12-14 22:19:13 +00:00
renovate[bot]
1dbe891119 chore(deps): update actions/upload-artifact action to v4 2023-12-14 20:15:36 +00:00
Kavin
e291ed4e19
Refactor utils and UMP transforming code to new files. 2023-12-14 13:37:52 +00:00
Kavin
e90eebcbd7
Don't include /range/ in hash
See https://github.com/TeamPiped/Piped/issues/3211
2023-12-14 05:03:55 +00:00
Kavin
19dca8bdd0
Escape URL when rewriting DASH responses. 2023-12-14 05:03:08 +00:00
Kavin
7586ae314b
Refactor UmpTransformStream to use io::Error instead of ReqwestError
- Replaced all occurrences of `ReqwestError` with `io::Error` in the code.
- Updated the type signature and implementation of `UmpTransformStream` to use `io::Error`.
- Handled errors when calling `read_variable_integer` by returning an error result.
2023-12-11 22:51:16 +00:00
renovate[bot]
e158c3aef8 chore(deps): lock file maintenance 2023-12-11 03:32:18 +00:00
renovate[bot]
961ae28fc2 chore(deps): lock file maintenance 2023-12-11 01:11:28 +00:00
renovate[bot]
a2717e3cb3 fix(deps): update rust crate tokio to 1.35.0 2023-12-09 00:34:44 +00:00
Kavin
c3b78def59
Be compliant with rfc7233 for sending a 206 response. 2023-12-08 10:47:52 +00:00
renovate[bot]
118c005d4d fix(deps): update rust crate once_cell to 1.19.0 2023-12-07 13:49:05 +00:00
Kavin
a9bc07e98d
Send 206 response in UMP response content. 2023-12-06 06:39:18 +00:00
renovate[bot]
b9c8dc8f58 chore(deps): lock file maintenance 2023-12-04 01:34:58 +00:00
Kavin
2295ad3d94
Add range header handling for ump streams.
See https://github.com/TeamPiped/Piped/issues/3196
2023-11-30 02:10:50 +00:00
Kavin
75f7c4e8cd
Return the right variable when rewriting manifests
This should now correctly return the rewritten manifest.
2023-11-28 18:36:36 +00:00
Kavin
a2e77d2668
Fix for another edge case. 2023-11-28 03:47:04 +00:00
Kavin
3e8098d105
Fix issues with skipping certain stream segments. 2023-11-28 02:54:02 +00:00
Kavin
67a519978b
Merge pull request #120 from TeamPiped/ump-support
Add support for handling ump responses
2023-11-27 23:58:37 +00:00
Kavin
2164f907ef
Add support for handling ump responses. 2023-11-27 23:54:55 +00:00
renovate[bot]
cc5337325d chore(deps): lock file maintenance 2023-11-27 02:12:54 +00:00
Kavin
496f58f81a
fix: Add support for generating qhash in rewritten manifests
Closes https://github.com/TeamPiped/Piped/issues/3162
2023-11-21 12:45:53 +00:00
Kavin
d72fb3c445
Include path in hash 2023-11-20 08:32:37 +00:00
Kavin
01697ebb86
Filter qhash query parameter. 2023-11-20 08:09:38 +00:00
Kavin
dfe87e0292
Fix clippy issue. 2023-11-20 08:05:47 +00:00
Kavin
0a6feb88ae
Merge pull request #116 from TeamPiped/blake3-query-hashing
Implement blake3 cryptographic hash verification for query string
2023-11-20 05:24:46 +00:00
Kavin
2aa3053d34
Remove use of channel. 2023-11-20 05:21:46 +00:00
Kavin
830363ca64
Remove rayon feature. 2023-11-20 05:14:26 +00:00
Kavin
2abd43bfb2
Make the hashing run on spawn_blocking. 2023-11-20 05:13:31 +00:00
Kavin
faafbcb737
Implement blake3 cryptographic hash verification for query string. 2023-11-20 05:13:31 +00:00
renovate[bot]
c136f79cc2 chore(deps): lock file maintenance 2023-11-20 02:06:30 +00:00
Kavin
04e383557d
Merge pull request #117 from RealOrangeOne/native-spawn-blocking-return
Let `spawn_blocking` handle returning its own value
2023-11-18 17:34:59 +00:00
Jake Howard
031df8da4d
Let spawn_blocking handle returning its own value
This means one fewer thing to await on, and spin up inside a request. It _might_ be faster, who knows, but it can't hurt.
2023-11-18 16:32:28 +00:00
renovate[bot]
9cda613cd2 chore(deps): lock file maintenance 2023-11-13 00:14:57 +00:00
renovate[bot]
c445f844bc fix(deps): update rust crate tokio to 1.34.0 2023-11-09 22:59:43 +00:00
renovate[bot]
b2bde77221 chore(deps): lock file maintenance 2023-11-06 03:45:24 +00:00
renovate[bot]
8f65ae0f88 chore(deps): lock file maintenance 2023-11-06 01:39:46 +00:00
Kavin
fffe690964
Add SIMD optimization feature flag. 2023-10-30 23:52:21 +00:00
renovate[bot]
f3a4092f5c chore(deps): lock file maintenance 2023-10-30 02:04:32 +00:00
renovate[bot]
b36d114dc3 fix(deps): update rust crate rgb to 0.8.37 2023-10-29 12:59:05 +00:00
renovate[bot]
03adf97fb3 chore(deps): lock file maintenance 2023-10-23 02:08:13 +00:00
Bnyro
63e5d77636
Merge pull request #30 from Jeidnx/check_env
Actually check boolean env vars
2023-10-20 16:18:40 +02:00
Bnyro
151b10775f refactor: properly check boolean env vars
Co-authored-by: Jeidnx <jeidnx@domainhier.de>
2023-10-20 16:14:35 +02:00