ec_httpsrv_session
Last updated March 2020
This struct is defined as follows:
struct _ec_httpsrv_session { ec_atomic_t ref_cnt; int64_t drainage; int max_write; httpsrv_connection conn; httpsrv_request req; httpsrv_response res; ec_httpsrv_handler_func handler; ec_blobject *service_ctx; ec_blobject *sess_ctx; int job_class; accept_construct *ac; Event *idle; int idle_time; uint32_t cmd; char *remote_cn; char *auth_user; int wants_shutdown; char peer_address[INET6_ADDRSTRLEN]; struct ec_auth_info ai; };
To use this struct, include the file modules/listeners/httpsrv.h
.
Was this page helpful?