|
Apache HTTPD
|
#include <nghttp2/nghttp2.h>Go to the source code of this file.
Classes | |
| struct | h2_proxy_session |
Macros | |
| #define | H2_ALEN(a) (sizeof(a)/sizeof((a)[0])) |
| #define | H2_PROXY_REQ_URL_NOTE "h2-proxy-req-url" |
Typedefs | |
| typedef struct h2_proxy_session | h2_proxy_session |
| typedef void | h2_proxy_request_done(h2_proxy_session *s, request_rec *r, apr_status_t status, int touched, int error_code) |
Functions | |
| h2_proxy_session * | h2_proxy_session_setup (const char *id, proxy_conn_rec *p_conn, proxy_server_conf *conf, int h2_front, unsigned char window_bits_connection, unsigned char window_bits_stream, h2_proxy_request_done *done) |
| apr_status_t | h2_proxy_session_submit (h2_proxy_session *s, const char *url, request_rec *r, int standalone) |
| apr_status_t | h2_proxy_session_process (h2_proxy_session *s) |
| void | h2_proxy_session_cancel_all (h2_proxy_session *s) |
| void | h2_proxy_session_cleanup (h2_proxy_session *s, h2_proxy_request_done *done) |
| int | h2_proxy_session_is_reusable (h2_proxy_session *s) |
Definition at line 132 of file h2_proxy_session.h.
| typedef void h2_proxy_request_done(h2_proxy_session *s, request_rec *r, apr_status_t status, int touched, int error_code) |
Definition at line 70 of file h2_proxy_session.h.
Definition at line 69 of file h2_proxy_session.h.
| Enumerator | |
|---|---|
| H2_PING_ST_NONE | |
| H2_PING_ST_AWAIT_ANY | |
| H2_PING_ST_AWAIT_PING | |
Definition at line 63 of file h2_proxy_session.h.
| Enumerator | |
|---|---|
| H2_STREAM_ST_IDLE | |
| H2_STREAM_ST_OPEN | |
| H2_STREAM_ST_RESV_LOCAL | |
| H2_STREAM_ST_RESV_REMOTE | |
| H2_STREAM_ST_CLOSED_INPUT | |
| H2_STREAM_ST_CLOSED_OUTPUT | |
| H2_STREAM_ST_CLOSED | |
Definition at line 27 of file h2_proxy_session.h.
Definition at line 47 of file h2_proxy_session.h.
| Enumerator | |
|---|---|
| H2_PROXYS_ST_INIT | |
| H2_PROXYS_ST_DONE | |
| H2_PROXYS_ST_IDLE | |
| H2_PROXYS_ST_BUSY | |
| H2_PROXYS_ST_WAIT | |
| H2_PROXYS_ST_LOCAL_SHUTDOWN | |
| H2_PROXYS_ST_REMOTE_SHUTDOWN | |
Definition at line 37 of file h2_proxy_session.h.
| void h2_proxy_session_cancel_all | ( | h2_proxy_session * | s | ) |
Definition at line 1664 of file h2_proxy_session.c.
| void h2_proxy_session_cleanup | ( | h2_proxy_session * | s, |
| h2_proxy_request_done * | done | ||
| ) |
Definition at line 1698 of file h2_proxy_session.c.
| int h2_proxy_session_is_reusable | ( | h2_proxy_session * | s | ) |
Definition at line 1713 of file h2_proxy_session.c.
| apr_status_t h2_proxy_session_process | ( | h2_proxy_session * | s | ) |
Perform a step in processing the proxy session. Will return aftert one read/write cycle and indicate session status by status code.
| s | the session to process |
Definition at line 1539 of file h2_proxy_session.c.
| h2_proxy_session * h2_proxy_session_setup | ( | const char * | id, |
| proxy_conn_rec * | p_conn, | ||
| proxy_server_conf * | conf, | ||
| int | h2_front, | ||
| unsigned char | window_bits_connection, | ||
| unsigned char | window_bits_stream, | ||
| h2_proxy_request_done * | done | ||
| ) |
Definition at line 722 of file h2_proxy_session.c.
| apr_status_t h2_proxy_session_submit | ( | h2_proxy_session * | s, |
| const char * | url, | ||
| request_rec * | r, | ||
| int | standalone | ||
| ) |
Definition at line 1070 of file h2_proxy_session.c.