From 0e5c1dc9a32b64e1b3c40025c96717b62b40dfc7 Mon Sep 17 00:00:00 2001 From: "Reynaldo H. Verdejo Pinochet" Date: Tue, 22 Dec 2015 11:28:56 -0800 Subject: [PATCH] ffserver: make our 404 explicitly HTML5/UTF-8 Signed-off-by: Reynaldo H. Verdejo Pinochet --- ffserver.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ffserver.c b/ffserver.c index c7dbb16f80..0dd3c70ec0 100644 --- a/ffserver.c +++ b/ffserver.c @@ -1758,8 +1758,12 @@ static int http_parse_request(HTTPContext *c) "HTTP/1.0 404 Not Found\r\n" "Content-type: text/html\r\n" "\r\n" + "\n" "\n" - "404 Not Found\n" + "\n" + "\n" + "404 Not Found\n" + "\n" "%s\n" "\n", msg); q += strlen(q);