mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
ffserver: add (), fix order of operations
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
b16b8c815c
commit
c719b7a42b
@ -705,7 +705,7 @@ static void start_wait_request(HTTPContext *c, int is_rtsp)
|
|||||||
|
|
||||||
c->state = is_rtsp ? RTSPSTATE_WAIT_REQUEST : HTTPSTATE_WAIT_REQUEST;
|
c->state = is_rtsp ? RTSPSTATE_WAIT_REQUEST : HTTPSTATE_WAIT_REQUEST;
|
||||||
c->timeout = cur_time +
|
c->timeout = cur_time +
|
||||||
is_rtsp ? RTSP_REQUEST_TIMEOUT : HTTP_REQUEST_TIMEOUT;
|
(is_rtsp ? RTSP_REQUEST_TIMEOUT : HTTP_REQUEST_TIMEOUT);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void http_send_too_busy_reply(int fd)
|
static void http_send_too_busy_reply(int fd)
|
||||||
|
Loading…
Reference in New Issue
Block a user