HTTPContext Struct Reference


Data Fields

struct sockaddr_in from_addr
struct pollfd * poll_entry
int64_t timeout
struct HTTPContext * next
int64_t data_count
int64_t start_time
int64_t first_pts
int64_t cur_pts
int64_t cur_clock
struct FFStream * stream
int feed_streams [MAX_STREAMS]
int switch_feed_streams [MAX_STREAMS]
char protocol [16]
char method [16]
char url [128]
char session_id [32]
AVFormatContext * rtp_ctx [MAX_STREAMS]
URLContext * rtp_handles [MAX_STREAMS]
struct HTTPContext * rtsp_c
const AVClass * class
unsigned char buffer [BUFFER_SIZE]
unsigned char * buf_ptr
unsigned char * buf_end
int64_t chunksize
Used if "Transfer-Encoding: chunked" otherwise -1.
char * user_agent
int64_t off
int64_t filesize
char location [MAX_URL_SIZE]
char * headers
Set if the server correctly handles Connection: close and will close the connection after feeding us the content.
A flag which indicates if the end of chunked encoding has been sent.
A flag which indicates we have finished to read POST reply.
A flag which indicates if we use persistent connections.

Detailed Description

Definition at line 127 of file ffserver.c.


Field Documentation

Definition at line 49 of file http.c.

Referenced by http_connect(), http_open_cnx(), and process_line().

unsigned char * HTTPContext::buf_end

Definition at line 42 of file http.c.

Referenced by http_buf_read(), http_connect(), http_getc(), and http_seek().

unsigned char * HTTPContext::buf_ptr

Definition at line 42 of file http.c.

Referenced by http_buf_read(), http_connect(), http_getc(), and http_seek().

unsigned char HTTPContext::buffer[BUFFER_SIZE]

Definition at line 42 of file http.c.

Definition at line 169 of file ffserver.c.

Referenced by close_connection(), compute_status(), handle_connection(), http_connect(), http_getc(), http_parse_request(), http_receive_data(), http_seek(), http_start_receive_data(), new_connection(), rtp_new_connection(), rtsp_parse_request(), and start_wait_request().

Definition at line 133 of file ffserver.c.

Referenced by compute_status(), get_packet_send_clock(), handle_connection(), http_parse_request(), http_prepare_data(), http_receive_data(), http_send_data(), http_start_receive_data(), rtsp_parse_request(), and start_wait_request().

Definition at line 133 of file ffserver.c.

Referenced by compute_status(), get_packet_send_clock(), handle_connection(), http_parse_request(), http_prepare_data(), http_receive_data(), http_send_data(), http_start_receive_data(), rtsp_parse_request(), and start_wait_request().

Definition at line 168 of file ffserver.c.

Referenced by http_parse_request(), new_connection(), rtp_new_connection(), and start_wait_request().

Definition at line 137 of file ffserver.c.

Referenced by http_receive_data().

Definition at line 136 of file ffserver.c.

Referenced by http_receive_data(), and http_start_receive_data().

Definition at line 53 of file http.c.

Referenced by http_connect(), http_shutdown(), and http_write().

Used if "Transfer-Encoding: chunked" otherwise -1.

Definition at line 45 of file http.c.

Referenced by http_buf_read(), http_read(), http_read_header(), and process_line().

Definition at line 40 of file http.c.

Definition at line 153 of file ffserver.c.

Definition at line 149 of file ffserver.c.

Referenced by get_packet_send_clock(), and http_prepare_data().

Definition at line 148 of file ffserver.c.

Referenced by get_packet_send_clock(), and http_prepare_data().

Definition at line 147 of file ffserver.c.

Referenced by get_packet_send_clock(), and http_prepare_data().

Definition at line 140 of file ffserver.c.

Referenced by compute_status(), handle_connection(), http_receive_data(), http_send_data(), and log_connection().

Definition at line 163 of file ffserver.c.

Referenced by compute_status(), http_receive_data(), and http_send_data().

A flag which indicates if the end of chunked encoding has been sent.

Definition at line 54 of file http.c.

Referenced by http_close(), http_connect(), http_read(), and http_shutdown().

A flag which indicates we have finished to read POST reply.

Definition at line 55 of file http.c.

Referenced by http_connect(), http_read(), and process_line().

Definition at line 129 of file ffserver.c.

Referenced by close_connection(), handle_connection(), http_parse_request(), http_receive_data(), http_send_data(), http_server(), new_connection(), rtp_new_connection(), and rtsp_cmd_describe().

Definition at line 142 of file ffserver.c.

Referenced by close_connection(), http_receive_data(), and http_start_receive_data().

Definition at line 157 of file ffserver.c.

Referenced by compute_status(), http_parse_request(), and modify_current_stream().

Definition at line 47 of file http.c.

Referenced by http_buf_read(), http_connect(), http_open(), http_seek(), and process_line().

Definition at line 146 of file ffserver.c.

Referenced by http_prepare_data(), open_input_stream(), and rtsp_cmd_pause().

Definition at line 160 of file ffserver.c.

Referenced by close_connection(), and http_prepare_data().

Definition at line 144 of file ffserver.c.

Referenced by close_connection(), http_prepare_data(), and open_input_stream().

struct sockaddr_in HTTPContext::from_addr [read]

Definition at line 130 of file ffserver.c.

Referenced by compute_status(), http_parse_request(), log_connection(), new_connection(), rtp_new_connection(), rtsp_cmd_setup(), and validate_acl_list().

Definition at line 139 of file ffserver.c.

Referenced by http_prepare_data().

Definition at line 41 of file http.c.

Referenced by http_buf_read(), http_close(), http_connect(), http_get_file_handle(), http_getc(), http_open_cnx(), http_read(), http_seek(), http_shutdown(), and http_write().

Definition at line 51 of file http.c.

Referenced by http_connect(), and http_open().

Definition at line 44 of file http.c.

Referenced by http_connect(), http_open_cnx(), and process_line().

Definition at line 134 of file ffserver.c.

Referenced by handle_connection(), http_parse_request(), and log_connection().

Definition at line 59 of file http.c.

Referenced by process_line().

Definition at line 170 of file ffserver.c.

Referenced by handle_connection(), http_prepare_data(), http_send_data(), http_server(), and rtp_new_connection().

Definition at line 161 of file ffserver.c.

Referenced by close_connection(), and http_prepare_data().

Definition at line 43 of file http.c.

Referenced by http_connect(), and http_read_header().

char HTTPContext::location[MAX_URL_SIZE]

Definition at line 48 of file http.c.

Referenced by ff_http_do_new_request(), http_open(), http_open_cnx(), and process_line().

Definition at line 166 of file ffserver.c.

Referenced by http_parse_request(), log_connection(), and rtsp_parse_request().

A flag which indicates if we use persistent connections.

Definition at line 56 of file http.c.

Referenced by http_connect().

Definition at line 138 of file ffserver.c.

Referenced by close_connection(), compute_status(), find_rtp_session(), http_parse_request(), http_receive_data(), http_server(), new_connection(), and rtp_new_connection().

Definition at line 47 of file http.c.

Referenced by ff_http_do_new_request(), http_buf_read(), http_connect(), http_seek(), and process_line().

Definition at line 188 of file ffserver.c.

Referenced by close_connection(), handle_connection(), and http_send_data().

Definition at line 188 of file ffserver.c.

Referenced by handle_connection(), and http_send_data().

Definition at line 188 of file ffserver.c.

Referenced by handle_connection(), and http_send_data().

Definition at line 171 of file ffserver.c.

Referenced by http_prepare_data(), and http_send_data().

Definition at line 175 of file ffserver.c.

Referenced by rtsp_cmd_describe(), rtsp_cmd_options(), rtsp_cmd_pause(), rtsp_cmd_play(), rtsp_cmd_setup(), rtsp_cmd_teardown(), rtsp_parse_request(), rtsp_reply_error(), and rtsp_reply_header().

Definition at line 174 of file ffserver.c.

Referenced by close_connection(), compute_status(), handle_connection(), http_prepare_data(), and rtsp_parse_request().

struct pollfd* HTTPContext::poll_entry [read]

Definition at line 131 of file ffserver.c.

Referenced by handle_connection(), http_server(), new_connection(), and rtp_new_connection().

Definition at line 135 of file ffserver.c.

Referenced by close_connection(), and http_parse_request().

Definition at line 57 of file http.c.

Referenced by http_connect().

Definition at line 58 of file http.c.

Referenced by http_connect().

Definition at line 165 of file ffserver.c.

Referenced by compute_status(), http_parse_request(), log_connection(), rtp_new_av_stream(), rtp_new_connection(), and rtsp_parse_request().

Definition at line 50 of file http.c.

Referenced by http_connect(), http_open_cnx(), and process_line().

Definition at line 152 of file ffserver.c.

Referenced by open_input_stream().

Definition at line 181 of file ffserver.c.

Referenced by close_connection(), http_prepare_data(), rtp_new_av_stream(), and rtsp_cmd_setup().

Definition at line 184 of file ffserver.c.

Referenced by close_connection(), http_prepare_data(), http_send_data(), rtp_new_av_stream(), and rtsp_cmd_setup().

Definition at line 179 of file ffserver.c.

Referenced by http_prepare_data(), http_send_data(), rtp_new_av_stream(), rtp_new_connection(), and rtsp_cmd_setup().

Definition at line 187 of file ffserver.c.

Referenced by close_connection(), http_send_data(), and rtp_new_av_stream().

Definition at line 176 of file ffserver.c.

Referenced by rtsp_cmd_options(), rtsp_parse_request(), and rtsp_reply_header().

Definition at line 180 of file ffserver.c.

Referenced by find_rtp_session(), rtp_new_connection(), rtsp_cmd_pause(), rtsp_cmd_play(), rtsp_cmd_setup(), and rtsp_cmd_teardown().

Definition at line 145 of file ffserver.c.

Referenced by get_server_clock(), http_prepare_data(), and open_input_stream().

Definition at line 128 of file ffserver.c.

Referenced by close_connection(), compute_status(), handle_connection(), http_parse_request(), http_prepare_data(), http_receive_data(), http_send_data(), http_server(), rtp_new_connection(), rtsp_cmd_pause(), rtsp_cmd_play(), rtsp_parse_request(), start_multicast(), and start_wait_request().

struct FFStream* HTTPContext::stream [read]

Definition at line 155 of file ffserver.c.

Referenced by close_connection(), compute_status(), find_rtp_session_with_url(), handle_connection(), http_parse_request(), http_prepare_data(), http_receive_data(), http_send_data(), http_start_receive_data(), modify_current_stream(), open_input_stream(), rtp_new_av_stream(), rtp_new_connection(), and rtsp_cmd_setup().

Definition at line 162 of file ffserver.c.

Referenced by http_parse_request(), and log_connection().

Definition at line 158 of file ffserver.c.

Referenced by http_parse_request(), http_prepare_data(), and modify_current_stream().

Definition at line 159 of file ffserver.c.

Referenced by http_parse_request(), and http_prepare_data().

Definition at line 132 of file ffserver.c.

Referenced by handle_connection(), and start_wait_request().

char HTTPContext::url[128]

Definition at line 167 of file ffserver.c.

Referenced by http_parse_request(), log_connection(), and rtsp_parse_request().

Definition at line 46 of file http.c.

Referenced by http_connect().

Set if the server correctly handles Connection: close and will close the connection after feeding us the content.

Definition at line 52 of file http.c.

Referenced by http_buf_read(), http_connect(), and process_line().

Definition at line 164 of file ffserver.c.

Referenced by http_parse_request().


The documentation for this struct was generated from the following files:

Generated on Fri Oct 26 02:50:15 2012 for FFmpeg by doxygen 1.5.8

AltStyle によって変換されたページ (->オリジナル) /