mirror of
https://github.com/cesanta/mongoose.git
synced 2024-11-28 13:49:01 +08:00
Added connection-specific conn_data pointer to struct mg_request_info
This commit is contained in:
parent
d864d72470
commit
036b213b2b
@ -43,6 +43,7 @@ struct mg_request_info {
|
|||||||
int remote_port; // Client's port
|
int remote_port; // Client's port
|
||||||
int is_ssl; // 1 if SSL-ed, 0 if not
|
int is_ssl; // 1 if SSL-ed, 0 if not
|
||||||
void *user_data; // User data pointer passed to mg_start()
|
void *user_data; // User data pointer passed to mg_start()
|
||||||
|
void *conn_data; // Connection-specific user data
|
||||||
|
|
||||||
int num_headers; // Number of HTTP headers
|
int num_headers; // Number of HTTP headers
|
||||||
struct mg_header {
|
struct mg_header {
|
||||||
|
Loading…
Reference in New Issue
Block a user