|
Apache HTTPD
|
#include "h2.h"Go to the source code of this file.
Classes | |
| struct | h2_conn_ctx_t |
Macros | |
| #define | H2_PIPE_OUT 0 |
| #define | H2_PIPE_IN 1 |
| #define | h2_conn_ctx_get(c) ((c)? (h2_conn_ctx_t*)ap_get_module_config((c)->conn_config, &http2_module) : NULL) |
Typedefs | |
| typedef struct h2_conn_ctx_t | h2_conn_ctx_t |
Functions | |
| h2_conn_ctx_t * | h2_conn_ctx_create_for_c1 (conn_rec *c, server_rec *s, const char *protocol) |
| void | h2_conn_ctx_assign_session (h2_conn_ctx_t *ctx, struct h2_session *session) |
| apr_status_t | h2_conn_ctx_init_for_c2 (h2_conn_ctx_t **pctx, conn_rec *c, struct h2_mplx *mplx, struct h2_stream *stream, struct h2_c2_transit *transit) |
| void | h2_conn_ctx_detach (conn_rec *c) |
| void | h2_conn_ctx_set_timeout (h2_conn_ctx_t *conn_ctx, apr_interval_time_t timeout) |
| #define h2_conn_ctx_get | ( | c | ) | ((c)? (h2_conn_ctx_t*)ap_get_module_config((c)->conn_config, &http2_module) : NULL) |
Get the h2 connection context.
| c | the connection to look at |
Definition at line 78 of file h2_conn_ctx.h.
| #define H2_PIPE_IN 1 |
Definition at line 30 of file h2_conn_ctx.h.
| #define H2_PIPE_OUT 0 |
Definition at line 29 of file h2_conn_ctx.h.
Definition at line 71 of file h2_conn_ctx.h.
| void h2_conn_ctx_assign_session | ( | h2_conn_ctx_t * | ctx, |
| struct h2_session * | session | ||
| ) |
Definition at line 71 of file h2_conn_ctx.c.
| h2_conn_ctx_t * h2_conn_ctx_create_for_c1 | ( | conn_rec * | c, |
| server_rec * | s, | ||
| const char * | protocol | ||
| ) |
Create the h2 connection context.
| c | the connection to create it at |
| s | the server in use |
| protocol | the protocol selected |
< Can read without blocking
< Pending error
< Hangup occurred
< Non-blocking IO
Definition at line 54 of file h2_conn_ctx.c.
| void h2_conn_ctx_detach | ( | conn_rec * | c | ) |
Definition at line 37 of file h2_conn_ctx.c.
| apr_status_t h2_conn_ctx_init_for_c2 | ( | h2_conn_ctx_t ** | pctx, |
| conn_rec * | c, | ||
| struct h2_mplx * | mplx, | ||
| struct h2_stream * | stream, | ||
| struct h2_c2_transit * | transit | ||
| ) |
Definition at line 77 of file h2_conn_ctx.c.
| void h2_conn_ctx_set_timeout | ( | h2_conn_ctx_t * | conn_ctx, |
| apr_interval_time_t | timeout | ||
| ) |
Definition at line 112 of file h2_conn_ctx.c.