Apache HTTPD
Functions
h2_switch.c File Reference
#include <assert.h>
#include <apr_strings.h>
#include <apr_optional.h>
#include <apr_optional_hooks.h>
#include <httpd.h>
#include <http_core.h>
#include <http_config.h>
#include <http_connection.h>
#include <http_protocol.h>
#include <http_ssl.h>
#include <http_log.h>
#include "h2_private.h"
#include "h2.h"
#include "h2_config.h"
#include "h2_conn_ctx.h"
#include "h2_c1.h"
#include "h2_c2.h"
#include "h2_protocol.h"
#include "h2_switch.h"

Go to the source code of this file.

Functions

apr_status_t h2_switch_init (apr_pool_t *pool, server_rec *s)
 
static int h2_protocol_propose (conn_rec *c, request_rec *r, server_rec *s, const apr_array_header_t *offers, apr_array_header_t *proposals)
 
static int h2_protocol_switch (conn_rec *c, request_rec *r, server_rec *s, const char *protocol)
 
static const charh2_protocol_get (const conn_rec *c)
 
void h2_switch_register_hooks (void)
 

Function Documentation

◆ h2_protocol_get()

static const char * h2_protocol_get ( const conn_rec c)
static

Definition at line 217 of file h2_switch.c.

◆ h2_protocol_propose()

static int h2_protocol_propose ( conn_rec c,
request_rec r,
server_rec s,
const apr_array_header_t offers,
apr_array_header_t proposals 
)
static

< Module declines to handle

< Module declines to handle

< Module declines to handle

< Module declines to handle

< Module declines to handle

< Module declines to handle

< Module declines to handle

< Module declines to handle

< Module has handled this stage.

Definition at line 52 of file h2_switch.c.

◆ h2_protocol_switch()

static int h2_protocol_switch ( conn_rec c,
request_rec r,
server_rec s,
const char protocol 
)
static

< Module declines to handle

< Module has handled this stage.

< Module has handled this stage.

< Module declines to handle

Definition at line 154 of file h2_switch.c.

◆ h2_switch_init()

apr_status_t h2_switch_init ( apr_pool_t pool,
server_rec s 
)

Definition at line 44 of file h2_switch.c.

◆ h2_switch_register_hooks()

void h2_switch_register_hooks ( void  )

Definition at line 228 of file h2_switch.c.