diff options
author | Howard Chu <hyc@highlandsun.com> | 2010-07-08 13:21:24 +0400 |
---|---|---|
committer | Howard Chu <hyc@highlandsun.com> | 2010-07-08 13:21:24 +0400 |
commit | 0aee2a57c86d7afc04b6e9638cb65b6bef9e8c47 (patch) | |
tree | 4c950a7e1d33ba69af49dc27f01f0b602b41e3ec /ffserver.c | |
parent | 2a22187f399a3d652cef943b563d079b029e559c (diff) |
Also use 503 for bandwidth limit exceeded
Originally committed as revision 24107 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffserver.c')
-rw-r--r-- | ffserver.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ffserver.c b/ffserver.c index 3559968458..8f073fe365 100644 --- a/ffserver.c +++ b/ffserver.c @@ -1589,10 +1589,10 @@ static int http_parse_request(HTTPContext *c) } if (c->post == 0 && max_bandwidth < current_bandwidth) { - c->http_error = 200; + c->http_error = 503; q = c->buffer; q += snprintf(q, c->buffer_size, - "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" |