From b25ac3c999b0b486018279283667129bbad06d08 Mon Sep 17 00:00:00 2001 From: "Reynaldo H. Verdejo Pinochet" Date: Tue, 22 Dec 2015 22:24:40 -0800 Subject: [PATCH] ffserver: add a doctype heading to our HTML pages Signed-off-by: Reynaldo H. Verdejo Pinochet --- ffserver.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ffserver.c b/ffserver.c index 5c0780573a..889dbd4aa1 100644 --- a/ffserver.c +++ b/ffserver.c @@ -818,6 +818,7 @@ static void http_send_too_busy_reply(int fd) "HTTP/1.0 503 Server too busy\r\n" "Content-type: text/html\r\n" "\r\n" + "\n" "Too busy\r\n" "

The server is too busy to serve your request at " "this time.

\r\n" @@ -1527,6 +1528,7 @@ static int http_parse_request(HTTPContext *c) "Location: %s\r\n" "Content-type: text/html\r\n" "\r\n" + "\n" "Moved\r\n" "You should be redirected.\r\n" "\r\n", @@ -1566,6 +1568,7 @@ static int http_parse_request(HTTPContext *c) "HTTP/1.0 503 Server too busy\r\n" "Content-type: text/html\r\n" "\r\n" + "\n" "Too busy\r\n" "

The server is too busy to serve your request at " "this time.

\r\n" @@ -1931,6 +1934,7 @@ static void compute_status(HTTPContext *c) avio_printf(pb, "Pragma: no-cache\r\n"); avio_printf(pb, "\r\n"); + avio_printf(pb, "\n"); avio_printf(pb, "%s Status\n", program_name); if (c->stream->feed_filename[0]) avio_printf(pb, "\n",