-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
plugin.api.http_session: enforce_content_length #3768
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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)