OSDN Git Service

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 e48af70..3559968 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"