projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a22187
)
Also use 503 for bandwidth limit exceeded
author
Howard Chu
<hyc@highlandsun.com>
Thu, 8 Jul 2010 09:21:24 +0000
(09:21 +0000)
committer
Howard Chu
<hyc@highlandsun.com>
Thu, 8 Jul 2010 09:21:24 +0000
(09:21 +0000)
Originally committed as revision 24107 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffserver.c
patch
|
blob
|
history
diff --git
a/ffserver.c
b/ffserver.c
index
3559968
..
8f073fe
100644
(file)
--- 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"