From d8c714cb241b0c914eedf8808c5840ac8fee3a38 Mon Sep 17 00:00:00 2001 From: "Reynaldo H. Verdejo Pinochet" Date: Sun, 4 Oct 2015 14:42:27 -0700 Subject: ffserver: wrap around bandwidth exceeded msg text Signed-off-by: Reynaldo H. Verdejo Pinochet --- ffserver.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'ffserver.c') diff --git a/ffserver.c b/ffserver.c index 34bfa89379..a45603ac20 100644 --- a/ffserver.c +++ b/ffserver.c @@ -1488,9 +1488,11 @@ static int http_parse_request(HTTPContext *c) "Content-type: text/html\r\n" "\r\n" "Too busy\r\n" - "

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

\r\n" - "

The bandwidth being served (including your stream) is %"PRIu64"kbit/sec, " - "and this exceeds the limit of %"PRIu64"kbit/sec.

\r\n" + "

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

\r\n" + "

The bandwidth being served (including your stream) " + "is %"PRIu64"kbit/sec, and this exceeds the limit of " + "%"PRIu64"kbit/sec.

\r\n" "\r\n", current_bandwidth, config.max_bandwidth); q += strlen(q); -- cgit v1.2.3