Apache2
h2_conn_ctx_t Struct Reference

#include <h2_conn_ctx.h>

Collaboration diagram for h2_conn_ctx_t:

Data Fields

const char * id
 
server_recserver
 
const char * protocol
 
struct h2_sessionsession
 
struct h2_mplxmplx
 
struct h2_c2_transittransit
 
int pre_conn_done
 
int stream_id
 
apr_pool_treq_pool
 
const struct h2_requestrequest
 
struct h2_bucket_beambeam_out
 
struct h2_bucket_beambeam_in
 
unsigned input_chunked:1
 
unsigned is_upgrade:1
 
apr_file_tpipe_in [2]
 
apr_pollfd_t pfd
 
int has_final_response
 
apr_status_t last_err
 
apr_off_t bytes_sent
 
apr_uint32_t started
 
apr_time_t started_at
 
apr_uint32_t done
 
apr_time_t done_at
 

Detailed Description

The h2 module context associated with a connection.

It keeps track of the different types of connections:

  • those from clients that use HTTP/2 protocol
  • those from clients that do not use HTTP/2
  • those created by ourself to perform work on HTTP/2 streams

Field Documentation

◆ beam_in

struct h2_bucket_beam* h2_conn_ctx_t::beam_in

◆ beam_out

struct h2_bucket_beam* h2_conn_ctx_t::beam_out

◆ bytes_sent

apr_off_t h2_conn_ctx_t::bytes_sent

◆ done

apr_uint32_t h2_conn_ctx_t::done

◆ done_at

apr_time_t h2_conn_ctx_t::done_at

◆ has_final_response

int h2_conn_ctx_t::has_final_response

◆ id

const char* h2_conn_ctx_t::id

◆ input_chunked

unsigned h2_conn_ctx_t::input_chunked

◆ is_upgrade

unsigned h2_conn_ctx_t::is_upgrade

◆ last_err

apr_status_t h2_conn_ctx_t::last_err

◆ mplx

struct h2_mplx* h2_conn_ctx_t::mplx

◆ pfd

apr_pollfd_t h2_conn_ctx_t::pfd

◆ pipe_in

apr_file_t* h2_conn_ctx_t::pipe_in[2]

◆ pre_conn_done

int h2_conn_ctx_t::pre_conn_done

◆ protocol

const char* h2_conn_ctx_t::protocol

◆ req_pool

apr_pool_t* h2_conn_ctx_t::req_pool

◆ request

const struct h2_request* h2_conn_ctx_t::request

◆ server

server_rec* h2_conn_ctx_t::server

◆ session

struct h2_session* h2_conn_ctx_t::session

◆ started

apr_uint32_t h2_conn_ctx_t::started

◆ started_at

apr_time_t h2_conn_ctx_t::started_at

◆ stream_id

int h2_conn_ctx_t::stream_id

◆ transit

struct h2_c2_transit* h2_conn_ctx_t::transit

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