ffserver: wrap around bandwidth exceeded msg text

Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
This commit is contained in:
Reynaldo H. Verdejo Pinochet 2015-10-04 14:42:27 -07:00
parent 8a9089948f
commit d8c714cb24
1 changed files with 5 additions and 3 deletions

View File

@ -1488,9 +1488,11 @@ static int http_parse_request(HTTPContext *c)
"Content-type: text/html\r\n"
"\r\n"
"<html><head><title>Too busy</title></head><body>\r\n"
"<p>The server is too busy to serve your request at this time.</p>\r\n"
"<p>The bandwidth being served (including your stream) is %"PRIu64"kbit/sec, "
"and this exceeds the limit of %"PRIu64"kbit/sec.</p>\r\n"
"<p>The server is too busy to serve your request at "
"this time.</p>\r\n"
"<p>The bandwidth being served (including your stream) "
"is %"PRIu64"kbit/sec, and this exceeds the limit of "
"%"PRIu64"kbit/sec.</p>\r\n"
"</body></html>\r\n",
current_bandwidth, config.max_bandwidth);
q += strlen(q);