Libevhtp  1.2.10-dev
Data Fields
evhtp_connection_t Struct Reference

#include <evhtp.h>

Data Fields

evhtp_t * htp
 
evbase_t * evbase
 
evbev_tbev
 
evthr_t * thread
 
evhtp_ssl_tssl
 
evhtp_hooks_t * hooks
 
htparser * parser
 
event_tresume_ev
 
struct sockaddr * saddr
 
struct timeval recv_timeo
 conn read timeouts (overrides global) More...
 
struct timeval send_timeo
 conn write timeouts (overrides global) More...
 
evutil_socket_t sock
 
evhtp_request_t * request
 the request currently being processed More...
 
uint64_t max_body_size
 
uint64_t body_bytes_read
 
uint64_t num_requests
 
evhtp_type type
 server or client More...
 
uint8_t error: 1
 
uint8_t owner: 1
 set to 1 if this structure owns the bufferevent More...
 
uint8_t vhost_via_sni: 1
 set to 1 if the vhost was found via SSL SNI More...
 
uint8_t paused: 1
 this connection has been marked as paused More...
 
uint8_t connected: 1
 client specific - set after successful connection More...
 
uint8_t waiting: 1
 used to make sure resuming happens AFTER sending a reply More...
 
uint8_t free_connection: 1
 
uint8_t keepalive: 1
 set to 1 after the first request has been processed and the connection is kept open More...
 
struct evbuffer * scratch_buf
 always zero'd out after used More...
 

Detailed Description

Definition at line 457 of file evhtp.h.

Field Documentation

§ bev

evbev_t* evhtp_connection_t::bev

Definition at line 460 of file evhtp.h.

§ body_bytes_read

uint64_t evhtp_connection_t::body_bytes_read

Definition at line 476 of file evhtp.h.

§ connected

uint8_t evhtp_connection_t::connected

client specific - set after successful connection

Definition at line 479 of file evhtp.h.

§ error

uint8_t evhtp_connection_t::error

Definition at line 479 of file evhtp.h.

§ evbase

evbase_t* evhtp_connection_t::evbase

Definition at line 459 of file evhtp.h.

§ free_connection

uint8_t evhtp_connection_t::free_connection

Definition at line 479 of file evhtp.h.

§ hooks

evhtp_hooks_t* evhtp_connection_t::hooks

Definition at line 467 of file evhtp.h.

§ htp

evhtp_t* evhtp_connection_t::htp

Definition at line 458 of file evhtp.h.

§ keepalive

uint8_t evhtp_connection_t::keepalive

set to 1 after the first request has been processed and the connection is kept open

Definition at line 479 of file evhtp.h.

§ max_body_size

uint64_t evhtp_connection_t::max_body_size

Definition at line 475 of file evhtp.h.

§ num_requests

uint64_t evhtp_connection_t::num_requests

Definition at line 477 of file evhtp.h.

§ owner

uint8_t evhtp_connection_t::owner

set to 1 if this structure owns the bufferevent

Definition at line 479 of file evhtp.h.

§ parser

htparser* evhtp_connection_t::parser

Definition at line 468 of file evhtp.h.

§ paused

uint8_t evhtp_connection_t::paused

this connection has been marked as paused

Definition at line 479 of file evhtp.h.

§ recv_timeo

struct timeval evhtp_connection_t::recv_timeo

conn read timeouts (overrides global)

Definition at line 471 of file evhtp.h.

§ request

evhtp_request_t* evhtp_connection_t::request

the request currently being processed

Definition at line 474 of file evhtp.h.

§ resume_ev

event_t* evhtp_connection_t::resume_ev

Definition at line 469 of file evhtp.h.

§ saddr

struct sockaddr* evhtp_connection_t::saddr

Definition at line 470 of file evhtp.h.

§ scratch_buf

struct evbuffer* evhtp_connection_t::scratch_buf

always zero'd out after used

Definition at line 487 of file evhtp.h.

§ send_timeo

struct timeval evhtp_connection_t::send_timeo

conn write timeouts (overrides global)

Definition at line 472 of file evhtp.h.

§ sock

evutil_socket_t evhtp_connection_t::sock

Definition at line 473 of file evhtp.h.

§ ssl

evhtp_ssl_t* evhtp_connection_t::ssl

Definition at line 465 of file evhtp.h.

§ thread

evthr_t* evhtp_connection_t::thread

Definition at line 462 of file evhtp.h.

§ type

evhtp_type evhtp_connection_t::type

server or client

Definition at line 478 of file evhtp.h.

§ vhost_via_sni

uint8_t evhtp_connection_t::vhost_via_sni

set to 1 if the vhost was found via SSL SNI

Definition at line 479 of file evhtp.h.

§ waiting

uint8_t evhtp_connection_t::waiting

used to make sure resuming happens AFTER sending a reply

Definition at line 479 of file evhtp.h.


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