Github User Fetcher 1.0.0
C Application with Server and GUI
|
Data Fields | |
int | connection_type |
int | protocol_type |
int | request_state |
struct mg_request_info | request_info |
struct mg_response_info | response_info |
struct mg_context * | phys_ctx |
struct mg_domain_context * | dom_ctx |
SSL * | ssl |
struct socket | client |
time_t | conn_birth_time |
struct timespec | req_time |
int64_t | num_bytes_sent |
int64_t | content_len |
int64_t | consumed_content |
int | is_chunked |
char * | buf |
char * | path_info |
int | must_close |
int | accept_gzip |
int | in_error_handler |
int | handled_requests |
int | buf_size |
int | request_len |
int | data_len |
int | status_code |
int | throttle |
time_t | last_throttle_time |
int | last_throttle_bytes |
pthread_mutex_t | mutex |
void * | tls_user_ptr |
Definition at line 2485 of file civetweb.c.
int mg_connection::accept_gzip |
Definition at line 2536 of file civetweb.c.
Referenced by get_request(), handle_static_file_request(), interpret_uri(), and reset_per_request_attributes().
char* mg_connection::buf |
Definition at line 2532 of file civetweb.c.
Referenced by get_message(), get_request(), get_response(), mg_connect_client_impl(), mg_read_inner(), process_new_connection(), run_client(), sockaddr_to_string(), and worker_thread_run().
int mg_connection::buf_size |
Definition at line 2556 of file civetweb.c.
Referenced by get_message(), get_request(), get_response(), mg_connect_client_impl(), process_new_connection(), and worker_thread_run().
struct socket mg_connection::client |
Definition at line 2507 of file civetweb.c.
Referenced by close_connection(), close_socket_gracefully(), get_rel_url_at_current_server(), handle_request(), log_access(), mg_connect_client_impl(), mg_construct_local_link(), mg_cry_internal_impl(), mg_write(), prepare_cgi_environment(), pull_inner(), send_file_data(), and worker_thread_run().
time_t mg_connection::conn_birth_time |
Definition at line 2508 of file civetweb.c.
Referenced by log_access(), process_new_connection(), and worker_thread_run().
int mg_connection::connection_type |
Definition at line 2486 of file civetweb.c.
Referenced by get_http_version(), get_request(), get_response(), init_connection(), mg_get_header(), mg_get_request_info(), mg_get_response_info(), and worker_thread_run().
int64_t mg_connection::consumed_content |
Definition at line 2524 of file civetweb.c.
Referenced by forward_body_data(), handle_request_stat_log(), mg_read(), mg_read_inner(), mg_store_body(), process_new_connection(), and reset_per_request_attributes().
int64_t mg_connection::content_len |
Definition at line 2518 of file civetweb.c.
Referenced by get_request(), get_response(), handle_cgi_request(), mg_read(), mg_read_inner(), process_new_connection(), reset_per_request_attributes(), and worker_thread_run().
int mg_connection::data_len |
Definition at line 2558 of file civetweb.c.
Referenced by dav_mkcol(), get_message(), init_connection(), mg_connect_websocket_client_impl(), mg_download(), mg_get_response(), mg_read_inner(), and process_new_connection().
struct mg_domain_context* mg_connection::dom_ctx |
Definition at line 2498 of file civetweb.c.
Referenced by authorize(), check_authorization(), close_socket_gracefully(), dav_lock_file(), dav_move_file(), dav_proppatch(), dav_unlock_file(), do_ssi_include(), extention_matches_script(), extention_matches_template_text(), fake_connection(), get_mime_type(), get_rel_url_at_current_server(), get_request_handler(), handle_cgi_request(), handle_file_based_request(), handle_propfind(), handle_request(), handle_static_file_request(), init_connection(), interpret_uri(), is_authorized_for_put(), log_access(), mg_connect_client_impl(), mg_construct_local_link(), mg_cry_internal_impl(), mg_get_response(), mg_send_digest_access_authentication_request(), mg_send_http_error_impl(), mg_send_mime_file2(), must_hide_file(), open_auth_file(), parse_auth_header(), prepare_cgi_environment(), pull_all(), read_message(), refresh_trust(), send_additional_header(), send_authorization_request(), send_cors_header(), send_file_data(), send_static_cache_header(), set_gpass_option(), should_decode_query_string(), should_decode_url(), should_keep_alive(), spawn_process(), ssl_servername_callback(), sslize(), substitute_index_file(), switch_domain_context(), and worker_thread_run().
int mg_connection::handled_requests |
Definition at line 2554 of file civetweb.c.
Referenced by init_connection(), process_new_connection(), and read_message().
int mg_connection::in_error_handler |
Definition at line 2537 of file civetweb.c.
Referenced by handle_file_based_request(), handle_request(), and mg_send_http_error_impl().
int mg_connection::is_chunked |
Definition at line 2525 of file civetweb.c.
Referenced by get_request(), get_response(), handle_cgi_request(), mg_read(), process_new_connection(), reset_per_request_attributes(), and worker_thread_run().
int mg_connection::last_throttle_bytes |
Definition at line 2564 of file civetweb.c.
Referenced by mg_write().
time_t mg_connection::last_throttle_time |
Definition at line 2563 of file civetweb.c.
Referenced by mg_write().
int mg_connection::must_close |
Definition at line 2535 of file civetweb.c.
Referenced by close_connection(), dav_lock_file(), dav_proppatch(), dav_unlock_file(), get_message(), handle_cgi_request(), handle_directory_request(), handle_propfind(), handle_request(), handle_ssi_file_request(), init_connection(), mg_close_connection(), mg_disable_connection_keep_alive(), mg_send_http_error_impl(), process_new_connection(), redirect_to_https_port(), reset_per_request_attributes(), send_authorization_request(), and should_keep_alive().
pthread_mutex_t mg_connection::mutex |
Definition at line 2565 of file civetweb.c.
Referenced by mg_close_connection(), mg_connect_client_impl(), mg_lock_connection(), mg_unlock_connection(), and worker_thread_run().
int64_t mg_connection::num_bytes_sent |
Definition at line 2517 of file civetweb.c.
Referenced by handle_request_stat_log(), log_access(), mg_write(), and reset_per_request_attributes().
char* mg_connection::path_info |
Definition at line 2533 of file civetweb.c.
Referenced by interpret_uri(), prepare_cgi_environment(), and reset_per_request_attributes().
struct mg_context* mg_connection::phys_ctx |
Definition at line 2497 of file civetweb.c.
Referenced by authorize(), close_connection(), dav_lock_file(), dav_move_file(), dav_unlock_file(), fake_connection(), forward_body_data(), get_request_handler(), handle_cgi_request(), handle_request(), handle_request_stat_log(), init_connection(), interpret_uri(), log_access(), mg_close_connection(), mg_connect_client_impl(), mg_connect_websocket_client_impl(), mg_construct_local_link(), mg_cry_internal_impl(), mg_get_context(), mg_send_http_error_impl(), mg_start2(), mg_write(), parse_auth_header(), prepare_cgi_environment(), print_props(), process_new_connection(), pull_all(), pull_inner(), read_message(), refresh_trust(), release_handler_ref(), send_authorization_request(), set_gpass_option(), ssl_get_client_cert_info(), ssl_servername_callback(), sslize(), switch_domain_context(), and worker_thread_run().
int mg_connection::protocol_type |
Definition at line 2487 of file civetweb.c.
Referenced by get_proto_name(), handle_request(), handle_static_file_request(), interpret_uri(), mg_send_http_ok(), mg_write(), process_new_connection(), redirect_to_https_port(), send_no_cache_header(), send_options(), and worker_thread_run().
struct timespec mg_connection::req_time |
Definition at line 2515 of file civetweb.c.
Referenced by get_message(), handle_request_stat_log(), and read_message().
struct mg_request_info mg_connection::request_info |
Definition at line 2494 of file civetweb.c.
Referenced by authorize(), check_authorization(), dav_lock_file(), dav_unlock_file(), get_http_version(), get_proto_name(), get_request(), get_response(), handle_directory_request(), handle_propfind(), handle_request(), handle_static_file_request(), init_connection(), interpret_uri(), is_civetweb_webdav_method(), is_put_or_delete_method(), log_access(), mg_connect_websocket_client_impl(), mg_construct_local_link(), mg_cry_internal_impl(), mg_download(), mg_get_header(), mg_get_request_info(), mg_get_response(), mg_get_user_connection_data(), mg_send_http_redirect(), mg_set_user_connection_data(), prepare_cgi_environment(), print_dav_dir_entry(), process_new_connection(), read_auth_file(), redirect_to_https_port(), reset_per_request_attributes(), should_switch_to_protocol(), switch_domain_context(), and worker_thread_run().
int mg_connection::request_len |
Definition at line 2557 of file civetweb.c.
Referenced by dav_mkcol(), get_message(), mg_read_inner(), process_new_connection(), and reset_per_request_attributes().
int mg_connection::request_state |
Definition at line 2488 of file civetweb.c.
Referenced by handle_request(), mg_write(), and reset_per_request_attributes().
struct mg_response_info mg_connection::response_info |
Definition at line 2495 of file civetweb.c.
Referenced by get_http_version(), get_response(), mg_connect_websocket_client_impl(), mg_get_header(), mg_get_request_info(), mg_get_response_info(), and reset_per_request_attributes().
SSL* mg_connection::ssl |
Definition at line 2506 of file civetweb.c.
Referenced by close_connection(), mg_write(), prepare_cgi_environment(), pull_inner(), send_file_data(), ssl_get_client_cert_info(), ssl_servername_callback(), sslize(), switch_domain_context(), and worker_thread_run().
int mg_connection::status_code |
Definition at line 2559 of file civetweb.c.
Referenced by forward_body_data(), handle_cgi_request(), handle_directory_request(), handle_request(), handle_request_stat_log(), handle_static_file_request(), log_access(), mg_send_http_error_impl(), prepare_cgi_environment(), put_file(), and reset_per_request_attributes().
int mg_connection::throttle |
Definition at line 2560 of file civetweb.c.
Referenced by handle_request(), mg_write(), reset_per_request_attributes(), and send_file_data().
void* mg_connection::tls_user_ptr |
Definition at line 2571 of file civetweb.c.
Referenced by mg_get_thread_pointer(), and worker_thread_run().