]> git.sesse.net Git - ffmpeg/commitdiff
Fix "server too busy" status code
authorHoward Chu <hyc@highlandsun.com>
Thu, 8 Jul 2010 08:59:53 +0000 (08:59 +0000)
committerHoward Chu <hyc@highlandsun.com>
Thu, 8 Jul 2010 08:59:53 +0000 (08:59 +0000)
Originally committed as revision 24105 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffserver.c

index e48af709a97e47ea3c02bb28301d1855445df1b6..3559968458e467fbefcd45d916ddcdf6ed750f33 100644 (file)
@@ -740,7 +740,7 @@ static void http_send_too_busy_reply(int fd)
 {
     char buffer[300];
     int len = snprintf(buffer, sizeof(buffer),
-                       "HTTP/1.0 200 Server too busy\r\n"
+                       "HTTP/1.0 503 Server too busy\r\n"
                        "Content-type: text/html\r\n"
                        "\r\n"
                        "<html><head><title>Too busy</title></head><body>\r\n"