[FFmpeg-cvslog] r24107 - trunk/ffserver.c
hyc
subversion
Thu Jul 8 11:21:24 CEST 2010
Author: hyc
Date: Thu Jul 8 11:21:24 2010
New Revision: 24107
Log:
Also use 503 for bandwidth limit exceeded
Modified:
trunk/ffserver.c
Modified: trunk/ffserver.c
==============================================================================
--- trunk/ffserver.c Thu Jul 8 11:20:58 2010 (r24106)
+++ trunk/ffserver.c Thu Jul 8 11:21:24 2010 (r24107)
@@ -1589,10 +1589,10 @@ static int http_parse_request(HTTPContex
}
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"
More information about the ffmpeg-cvslog
mailing list