Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
mg_connection Struct Reference

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_contextphys_ctx
 
struct mg_domain_contextdom_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
 

Detailed Description

Definition at line 2485 of file civetweb.c.

Field Documentation

◆ accept_gzip

int mg_connection::accept_gzip

◆ buf

◆ buf_size

int mg_connection::buf_size

◆ client

◆ conn_birth_time

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().

◆ connection_type

◆ consumed_content

int64_t mg_connection::consumed_content

◆ content_len

◆ data_len

◆ dom_ctx

◆ handled_requests

int mg_connection::handled_requests

Definition at line 2554 of file civetweb.c.

Referenced by init_connection(), process_new_connection(), and read_message().

◆ in_error_handler

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().

◆ is_chunked

◆ last_throttle_bytes

int mg_connection::last_throttle_bytes

Definition at line 2564 of file civetweb.c.

Referenced by mg_write().

◆ last_throttle_time

time_t mg_connection::last_throttle_time

Definition at line 2563 of file civetweb.c.

Referenced by mg_write().

◆ must_close

◆ mutex

pthread_mutex_t mg_connection::mutex

◆ num_bytes_sent

int64_t mg_connection::num_bytes_sent

◆ path_info

char* mg_connection::path_info

◆ phys_ctx

◆ protocol_type

◆ req_time

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().

◆ request_info

◆ request_len

int mg_connection::request_len

◆ request_state

int mg_connection::request_state

Definition at line 2488 of file civetweb.c.

Referenced by handle_request(), mg_write(), and reset_per_request_attributes().

◆ response_info

◆ ssl

◆ status_code

◆ throttle

int mg_connection::throttle

◆ tls_user_ptr

void* mg_connection::tls_user_ptr

Definition at line 2571 of file civetweb.c.

Referenced by mg_get_thread_pointer(), and worker_thread_run().


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