Go to the source code of this file.
|
char * | http2_var_lookup (apr_pool_t *, server_rec *, conn_rec *, request_rec *, char *) |
|
int | http2_is_h2 (conn_rec *) |
|
void | http2_get_num_workers (server_rec *s, int *minw, int *max) |
|
apr_status_t | http2_get_pollfd_from_conn (conn_rec *c, struct apr_pollfd_t *pfd, apr_interval_time_t *ptimeout) |
|
apr_status_t | http2_req_engine_push (const char *engine_type, request_rec *r, http2_req_engine_init *einit) |
|
apr_status_t | http2_req_engine_pull (h2_req_engine *engine, apr_read_type_e block, int capacity, request_rec **pr) |
|
void | http2_req_engine_done (h2_req_engine *engine, conn_rec *rconn, apr_status_t status) |
|
◆ AP_HTTP2_HAS_GET_POLLFD
#define AP_HTTP2_HAS_GET_POLLFD |
◆ h2_req_engine
◆ http2_output_consumed
◆ http2_req_engine_init
◆ http2_get_num_workers()
◆ http2_get_pollfd_from_conn()
Get a apr_pollfd_t populated for a h2 connection where (c->master != NULL) is true and pipes are supported. To be used in Apache modules implementing WebSockets in Apache httpd versions that do not support the corresponding ap_get_pollfd_from_conn()
function. When available, use ap_get_pollfd_from_conn()
instead of this function.
How it works: pass in a apr_pollfd_t
which gets populated for monitoring the input of connection c
. If c
is not a HTTP/2 stream connection, the function will return APR_ENOTIMPL
. ptimeout
is optional and, if passed, will get the timeout in effect
On platforms without support for pipes (e.g. Windows), this function will return APR_ENOTIMPL
.
◆ http2_is_h2()
An optional function which returns non-zero if the given connection or its master connection is using HTTP/2.
◆ http2_req_engine_done()
◆ http2_req_engine_pull()
◆ http2_req_engine_push()
◆ http2_var_lookup()