ffserver: wrap around too-busy message text

Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
pull/118/merge
Reynaldo H. Verdejo Pinochet 10 years ago
parent 3388bcced4
commit 8a9089948f
  1. 6
      ffserver.c

@ -741,8 +741,10 @@ static void http_send_too_busy_reply(int fd)
"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 number of current connections is %u, and this exceeds the limit of %u.</p>\r\n"
"<p>The server is too busy to serve your request at "
"this time.</p>\r\n"
"<p>The number of current connections is %u, and this "
"exceeds the limit of %u.</p>\r\n"
"</body></html>\r\n",
nb_connections, config.nb_max_connections);
av_assert0(len < sizeof(buffer));

Loading…
Cancel
Save