This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit e5a3c5e409f2f5cbf94cb1cc7dbae5750dc8efc7 Author: Niklas Haas <[email protected]> AuthorDate: Tue Jun 9 12:37:04 2026 +0200 Commit: Niklas Haas <[email protected]> CommitDate: Thu Jun 25 15:50:43 2026 +0000 avformat/http: accept case-insensitive Connection header value RFC 9110 defines this as case-insensitive, and some servers (e.g. MythTV) send it as "Close" instead of "close". See-Also: https://code.ffmpeg.org/FFmpeg/FFmpeg/issues/23222 Signed-off-by: Niklas Haas <[email protected]> --- libavformat/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/http.c b/libavformat/http.c index d74ed38b39..015a150716 100644 --- a/libavformat/http.c +++ b/libavformat/http.c @@ -1293,7 +1293,7 @@ static int process_line(URLContext *h, char *line, int line_count, int *parsed_h } else if (!av_strcasecmp(tag, "Proxy-Authenticate")) { ff_http_auth_handle_header(&s->proxy_auth_state, tag, p); } else if (!av_strcasecmp(tag, "Connection")) { - if (!strcmp(p, "close")) + if (!av_strcasecmp(p, "close")) s->willclose = 1; } else if (!av_strcasecmp(tag, "Server")) { if (!av_strcasecmp(p, "AkamaiGHost")) { _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
