MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / start_wait_request

Function start_wait_request

ffserver.c:725–737  ·  view source on GitHub ↗

start waiting for a new HTTP/RTSP request */

Source from the content-addressed store, hash-verified

723
724/* start waiting for a new HTTP/RTSP request */
725static void start_wait_request(HTTPContext *c, int is_rtsp)
726{
727 c->buffer_ptr = c->buffer;
728 c->buffer_end = c->buffer + c->buffer_size - 1; /* leave room for '\0' */
729
730 if (is_rtsp) {
731 c->timeout = cur_time + RTSP_REQUEST_TIMEOUT;
732 c->state = RTSPSTATE_WAIT_REQUEST;
733 } else {
734 c->timeout = cur_time + HTTP_REQUEST_TIMEOUT;
735 c->state = HTTPSTATE_WAIT_REQUEST;
736 }
737}
738
739static void http_send_too_busy_reply(int fd)
740{

Callers 2

new_connectionFunction · 0.85
handle_connectionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected