plugin.api.http_session: enforce_content_length#3768
Conversation
|
Regarding the fix for encrypted HLS streams, this causes the HTTPSession to re-download the faulty/truncated segment. If the server however continues to respond with an incorrect Content-Length header or truncated response body, then there's not much that can be done. |
|
I have installed a patched version of streamlink and will report here in the next couple of days if I encounter the issue again. |
|
I think this solved the issue! Thank you! |
ERROR = Padding is incorrect How can I solve this problem in streamlink 3.0.3 |
Resolves #2365
This should resolve #2365, but I can't validate it myself with data of real HLS streams and don't want to spend time writing sophisticated tests for the entire upstream stack where this bug occurs.
See psf/requests#4956 (comment)