Apache2
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
h2_conn.h File Reference

Go to the source code of this file.

Enumerations

enum  h2_mpm_type_t {
  H2_MPM_UNKNOWN, H2_MPM_WORKER, H2_MPM_EVENT, H2_MPM_PREFORK,
  H2_MPM_MOTORZ, H2_MPM_SIMPLE, H2_MPM_NETWARE, H2_MPM_WINNT
}
 

Functions

apr_status_t h2_conn_setup (conn_rec *c, request_rec *r, server_rec *s)
 
apr_status_t h2_conn_run (conn_rec *c)
 
apr_status_t h2_conn_pre_close (struct h2_ctx *ctx, conn_rec *c)
 
apr_status_t h2_conn_child_init (apr_pool_t *pool, server_rec *s)
 
h2_mpm_type_t h2_conn_mpm_type (void)
 
const char * h2_conn_mpm_name (void)
 
int h2_mpm_supported (void)
 
conn_rech2_secondary_create (conn_rec *master, int sec_id, apr_pool_t *parent)
 
void h2_secondary_destroy (conn_rec *secondary)
 
apr_status_t h2_secondary_run_pre_connection (conn_rec *secondary, apr_socket_t *csd)
 
void h2_secondary_run_connection (conn_rec *secondary)
 

Enumeration Type Documentation

Enumerator
H2_MPM_UNKNOWN 
H2_MPM_WORKER 
H2_MPM_EVENT 
H2_MPM_PREFORK 
H2_MPM_MOTORZ 
H2_MPM_SIMPLE 
H2_MPM_NETWARE 
H2_MPM_WINNT 

Function Documentation

apr_status_t h2_conn_child_init ( apr_pool_t pool,
server_rec s 
)
const char* h2_conn_mpm_name ( void  )
h2_mpm_type_t h2_conn_mpm_type ( void  )
apr_status_t h2_conn_pre_close ( struct h2_ctx ctx,
conn_rec c 
)

The connection is about to close. If we have not send a GOAWAY yet, this is the last chance.

apr_status_t h2_conn_run ( conn_rec c)

Run the HTTP/2 connection in synchronous fashion. Return when the HTTP/2 session is done and the connection will close or a fatal error occurred.

Parameters
cthe http2 connection to run
Returns
APR_SUCCESS when session is done.
apr_status_t h2_conn_setup ( conn_rec c,
request_rec r,
server_rec s 
)

Setup the connection and our context for HTTP/2 processing

Parameters
cthe connection HTTP/2 is starting on
rthe upgrade request that still awaits an answer, optional
sthe server selected for this connection (can be != c->base_server)
int h2_mpm_supported ( void  )
conn_rec* h2_secondary_create ( conn_rec master,
int  sec_id,
apr_pool_t parent 
)
void h2_secondary_destroy ( conn_rec secondary)
void h2_secondary_run_connection ( conn_rec secondary)
apr_status_t h2_secondary_run_pre_connection ( conn_rec secondary,
apr_socket_t csd 
)