|
| static void | dispatch_event (h2_proxy_session *session, h2_proxys_event_t ev, int arg, const char *msg) |
| |
| static void | ping_arrived (h2_proxy_session *session) |
| |
| static apr_status_t | check_suspended (h2_proxy_session *session) |
| |
| static void | stream_resume (h2_proxy_stream *stream) |
| |
| static apr_status_t | submit_trailers (h2_proxy_stream *stream) |
| |
| static void | set_ping_timeout (h2_proxy_session *session) |
| |
| static void | unset_ping_timeout (h2_proxy_session *session) |
| |
| static void | enter_ping_state (h2_proxy_session *session, h2_ping_state_t state) |
| |
| static void | ping_new_session (h2_proxy_session *session, proxy_conn_rec *p_conn) |
| |
| static void | ping_reuse_session (h2_proxy_session *session) |
| |
| static void | ping_ev_frame_received (h2_proxy_session *session, const nghttp2_frame *frame) |
| |
| static apr_status_t | proxy_session_pre_close (void *theconn) |
| |
| static int | proxy_pass_brigade (apr_bucket_alloc_t *bucket_alloc, proxy_conn_rec *p_conn, conn_rec *origin, apr_bucket_brigade *bb, int flush) |
| |
| static ssize_t | raw_send (nghttp2_session *ngh2, const uint8_t *data, size_t length, int flags, void *user_data) |
| |
| static int | on_frame_recv (nghttp2_session *ngh2, const nghttp2_frame *frame, void *user_data) |
| |
| static int | before_frame_send (nghttp2_session *ngh2, const nghttp2_frame *frame, void *user_data) |
| |
| static int | add_header (void *table, const char *n, const char *v) |
| |
| static void | process_proxy_header (apr_table_t *headers, h2_proxy_stream *stream, const char *n, const char *v) |
| |
| static apr_status_t | h2_proxy_stream_add_header_out (h2_proxy_stream *stream, const char *n, apr_size_t nlen, const char *v, apr_size_t vlen) |
| |
| static int | log_header (void *ctx, const char *key, const char *value) |
| |
| static void | h2_proxy_stream_end_headers_out (h2_proxy_stream *stream) |
| |
| static int | stream_response_data (nghttp2_session *ngh2, uint8_t flags, int32_t stream_id, const uint8_t *data, size_t len, void *user_data) |
| |
| static int | on_stream_close (nghttp2_session *ngh2, int32_t stream_id, uint32_t error_code, void *user_data) |
| |
| static int | on_header (nghttp2_session *ngh2, const nghttp2_frame *frame, const uint8_t *namearg, size_t nlen, const uint8_t *valuearg, size_t vlen, uint8_t flags, void *user_data) |
| |
| static ssize_t | stream_request_data (nghttp2_session *ngh2, int32_t stream_id, uint8_t *buf, size_t length, uint32_t *data_flags, nghttp2_data_source *source, void *user_data) |
| |
| 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) |
| |
| static apr_status_t | session_start (h2_proxy_session *session) |
| |
| static apr_status_t | open_stream (h2_proxy_session *session, const char *url, request_rec *r, int standalone, h2_proxy_stream **pstream) |
| |
| static apr_status_t | submit_stream (h2_proxy_session *session, h2_proxy_stream *stream) |
| |
| static apr_status_t | feed_brigade (h2_proxy_session *session, apr_bucket_brigade *bb) |
| |
| static apr_status_t | h2_proxy_session_read (h2_proxy_session *session, int block, apr_interval_time_t timeout) |
| |
| apr_status_t | h2_proxy_session_submit (h2_proxy_session *session, const char *url, request_rec *r, int standalone) |
| |
| static int | is_waiting_for_backend (h2_proxy_session *session) |
| |
| static apr_status_t | session_shutdown (h2_proxy_session *session, int reason, const char *msg) |
| |
| static const char * | state_name (h2_proxys_state state) |
| |
| static int | is_accepting_streams (h2_proxy_session *session) |
| |
| static void | transit (h2_proxy_session *session, const char *action, h2_proxys_state nstate) |
| |
| static void | ev_init (h2_proxy_session *session, int arg, const char *msg) |
| |
| static void | ev_local_goaway (h2_proxy_session *session, int arg, const char *msg) |
| |
| static void | ev_remote_goaway (h2_proxy_session *session, int arg, const char *msg) |
| |
| static void | ev_conn_error (h2_proxy_session *session, int arg, const char *msg) |
| |
| static void | ev_proto_error (h2_proxy_session *session, int arg, const char *msg) |
| |
| static void | ev_conn_timeout (h2_proxy_session *session, int arg, const char *msg) |
| |
| static void | ev_no_io (h2_proxy_session *session, int arg, const char *msg) |
| |
| static void | ev_stream_submitted (h2_proxy_session *session, int stream_id, const char *msg) |
| |
| static void | ev_stream_done (h2_proxy_session *session, int stream_id, const char *msg) |
| |
| static void | ev_stream_resumed (h2_proxy_session *session, int arg, const char *msg) |
| |
| static void | ev_data_read (h2_proxy_session *session, int arg, const char *msg) |
| |
| static void | ev_ngh2_done (h2_proxy_session *session, int arg, const char *msg) |
| |
| static void | ev_pre_close (h2_proxy_session *session, int arg, const char *msg) |
| |
| static int | send_loop (h2_proxy_session *session) |
| |
| apr_status_t | h2_proxy_session_process (h2_proxy_session *session) |
| |
| static int | cancel_iter (void *udata, void *val) |
| |
| void | h2_proxy_session_cancel_all (h2_proxy_session *session) |
| |
| static int | done_iter (void *udata, void *val) |
| |
| void | h2_proxy_session_cleanup (h2_proxy_session *session, h2_proxy_request_done *done) |
| |
| int | h2_proxy_session_is_reusable (h2_proxy_session *session) |
| |
| static int | ping_arrived_iter (void *udata, void *val) |
| |