Skip to content
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

fix(client/http): ffmpeg not works with proxy #1110

Merged
merged 2 commits into from
May 30, 2024
Merged

Conversation

haruue
Copy link
Collaborator

@haruue haruue commented May 30, 2024

Go's resp.Write() adds a "Content-Length: 0" header and it seems that ffmpeg doesn't like this and immediately closes the proxy connection.

close: #1109

haruue added 2 commits May 30, 2024 22:55
Go's resp.Write() adds a "Content-Length: 0" header and it seems that
ffmpeg doesn't like this and immediately closes the proxy connection.

close: #1109
Magic of undocumented features.
@haruue haruue requested a review from tobyxdd May 30, 2024 15:16
@tobyxdd tobyxdd merged commit 52c8f82 into master May 30, 2024
@tobyxdd tobyxdd deleted the fix-http-connect-header branch May 30, 2024 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FFmpeg Error
2 participants