Logo ROOT  
Reference Guide
mg_connection Struct Reference

Definition at line 2447 of file civetweb.c.

Public Attributes

int accept_gzip
 
char * buf
 
int buf_size
 
struct socket client
 
time_t conn_birth_time
 
int connection_type
 
int64_t consumed_content
 
int64_t content_len
 
int data_len
 
struct mg_domain_contextdom_ctx
 
int handled_requests
 
int in_error_handler
 
int is_chunked
 
int last_throttle_bytes
 
time_t last_throttle_time
 
int must_close
 
pthread_mutex_t mutex
 
int64_t num_bytes_sent
 
char * path_info
 
struct mg_contextphys_ctx
 
int protocol_type
 
struct timespec req_time
 
struct mg_request_info request_info
 
int request_len
 
int request_state
 
struct mg_response_info response_info
 
SSLssl
 
int status_code
 
int throttle
 
void * tls_user_ptr
 

Member Data Documentation

◆ accept_gzip

int mg_connection::accept_gzip

Definition at line 2498 of file civetweb.c.

◆ buf

char* mg_connection::buf

Definition at line 2494 of file civetweb.c.

◆ buf_size

int mg_connection::buf_size

Definition at line 2518 of file civetweb.c.

◆ client

struct socket mg_connection::client

Definition at line 2469 of file civetweb.c.

◆ conn_birth_time

time_t mg_connection::conn_birth_time

Definition at line 2470 of file civetweb.c.

◆ connection_type

int mg_connection::connection_type

Definition at line 2448 of file civetweb.c.

◆ consumed_content

int64_t mg_connection::consumed_content

Definition at line 2486 of file civetweb.c.

◆ content_len

int64_t mg_connection::content_len

Definition at line 2480 of file civetweb.c.

◆ data_len

int mg_connection::data_len

Definition at line 2520 of file civetweb.c.

◆ dom_ctx

struct mg_domain_context* mg_connection::dom_ctx

Definition at line 2460 of file civetweb.c.

◆ handled_requests

int mg_connection::handled_requests

Definition at line 2516 of file civetweb.c.

◆ in_error_handler

int mg_connection::in_error_handler

Definition at line 2499 of file civetweb.c.

◆ is_chunked

int mg_connection::is_chunked

Definition at line 2487 of file civetweb.c.

◆ last_throttle_bytes

int mg_connection::last_throttle_bytes

Definition at line 2526 of file civetweb.c.

◆ last_throttle_time

time_t mg_connection::last_throttle_time

Definition at line 2525 of file civetweb.c.

◆ must_close

int mg_connection::must_close

Definition at line 2497 of file civetweb.c.

◆ mutex

pthread_mutex_t mg_connection::mutex

Definition at line 2527 of file civetweb.c.

◆ num_bytes_sent

int64_t mg_connection::num_bytes_sent

Definition at line 2479 of file civetweb.c.

◆ path_info

char* mg_connection::path_info

Definition at line 2495 of file civetweb.c.

◆ phys_ctx

struct mg_context* mg_connection::phys_ctx

Definition at line 2459 of file civetweb.c.

◆ protocol_type

int mg_connection::protocol_type

Definition at line 2449 of file civetweb.c.

◆ req_time

struct timespec mg_connection::req_time

Definition at line 2477 of file civetweb.c.

◆ request_info

struct mg_request_info mg_connection::request_info

Definition at line 2456 of file civetweb.c.

◆ request_len

int mg_connection::request_len

Definition at line 2519 of file civetweb.c.

◆ request_state

int mg_connection::request_state

Definition at line 2450 of file civetweb.c.

◆ response_info

struct mg_response_info mg_connection::response_info

Definition at line 2457 of file civetweb.c.

◆ ssl

SSL* mg_connection::ssl

Definition at line 2468 of file civetweb.c.

◆ status_code

int mg_connection::status_code

Definition at line 2521 of file civetweb.c.

◆ throttle

int mg_connection::throttle

Definition at line 2522 of file civetweb.c.

◆ tls_user_ptr

void* mg_connection::tls_user_ptr

Definition at line 2533 of file civetweb.c.

Collaboration diagram for mg_connection:
[legend]

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