#include <apr_version.h>
#include <ap_mmn.h>
#include <nghttp2/nghttp2ver.h>
Go to the source code of this file.
|
| enum | h2_dependency { H2_DEPENDANT_AFTER
, H2_DEPENDANT_INTERLEAVED
, H2_DEPENDANT_BEFORE
} |
| |
| enum | h2_push_policy { H2_PUSH_NONE
, H2_PUSH_DEFAULT
, H2_PUSH_HEAD
, H2_PUSH_FAST_LOAD
} |
| |
| enum | h2_session_state {
H2_SESSION_ST_INIT
, H2_SESSION_ST_DONE
, H2_SESSION_ST_IDLE
, H2_SESSION_ST_BUSY
,
H2_SESSION_ST_WAIT
, H2_SESSION_ST_CLEANUP
} |
| |
| enum | h2_stream_state_t {
H2_SS_IDLE
, H2_SS_RSVD_R
, H2_SS_RSVD_L
, H2_SS_OPEN
,
H2_SS_CLOSED_R
, H2_SS_CLOSED_L
, H2_SS_CLOSED
, H2_SS_CLEANUP
,
H2_SS_MAX
} |
| |
| enum | h2_stream_event_t {
H2_SEV_CLOSED_L
, H2_SEV_CLOSED_R
, H2_SEV_CANCELLED
, H2_SEV_EOS_SENT
,
H2_SEV_IN_ERROR
, H2_SEV_IN_DATA_PENDING
, H2_SEV_OUT_C1_BLOCK
} |
| |
◆ AP_HAS_RESPONSE_BUCKETS
| #define AP_HAS_RESPONSE_BUCKETS 0 |
Definition at line 207 of file h2.h.
◆ H2_ALEN
Definition at line 98 of file h2.h.
◆ H2_CRLF
Definition at line 83 of file h2.h.
◆ H2_DATA_CHUNK_SIZE
Definition at line 89 of file h2.h.
◆ H2_ERR_CANCEL
Definition at line 66 of file h2.h.
◆ H2_ERR_COMPRESSION_ERROR
| #define H2_ERR_COMPRESSION_ERROR (0x09) |
Definition at line 67 of file h2.h.
◆ H2_ERR_CONNECT_ERROR
| #define H2_ERR_CONNECT_ERROR (0x0a) |
Definition at line 68 of file h2.h.
◆ H2_ERR_ENHANCE_YOUR_CALM
| #define H2_ERR_ENHANCE_YOUR_CALM (0x0b) |
Definition at line 69 of file h2.h.
◆ H2_ERR_FLOW_CONTROL_ERROR
| #define H2_ERR_FLOW_CONTROL_ERROR (0x03) |
Definition at line 61 of file h2.h.
◆ H2_ERR_FRAME_SIZE_ERROR
| #define H2_ERR_FRAME_SIZE_ERROR (0x06) |
Definition at line 64 of file h2.h.
◆ H2_ERR_HTTP_1_1_REQUIRED
| #define H2_ERR_HTTP_1_1_REQUIRED (0x0d) |
Definition at line 71 of file h2.h.
◆ H2_ERR_INADEQUATE_SECURITY
| #define H2_ERR_INADEQUATE_SECURITY (0x0c) |
Definition at line 70 of file h2.h.
◆ H2_ERR_INTERNAL_ERROR
| #define H2_ERR_INTERNAL_ERROR (0x02) |
Definition at line 60 of file h2.h.
◆ H2_ERR_NO_ERROR
| #define H2_ERR_NO_ERROR (0x00) |
Definition at line 58 of file h2.h.
◆ H2_ERR_PROTOCOL_ERROR
| #define H2_ERR_PROTOCOL_ERROR (0x01) |
Definition at line 59 of file h2.h.
◆ H2_ERR_REFUSED_STREAM
| #define H2_ERR_REFUSED_STREAM (0x07) |
Definition at line 65 of file h2.h.
◆ H2_ERR_SETTINGS_TIMEOUT
| #define H2_ERR_SETTINGS_TIMEOUT (0x04) |
Definition at line 62 of file h2.h.
◆ H2_ERR_STREAM_CLOSED
| #define H2_ERR_STREAM_CLOSED (0x05) |
Definition at line 63 of file h2.h.
◆ H2_FRAME_HDR_LEN
Definition at line 86 of file h2.h.
◆ H2_HDR_CONFORMANCE
Definition at line 198 of file h2.h.
◆ H2_HDR_CONFORMANCE_UNSAFE
| #define H2_HDR_CONFORMANCE_UNSAFE "unsafe" |
Definition at line 199 of file h2.h.
◆ H2_HEADER_AUTH
| #define H2_HEADER_AUTH ":authority" |
Definition at line 77 of file h2.h.
◆ H2_HEADER_AUTH_LEN
Definition at line 78 of file h2.h.
◆ H2_HEADER_METHOD
| #define H2_HEADER_METHOD ":method" |
Definition at line 73 of file h2.h.
◆ H2_HEADER_METHOD_LEN
| #define H2_HEADER_METHOD_LEN 7 |
Definition at line 74 of file h2.h.
◆ H2_HEADER_PATH
| #define H2_HEADER_PATH ":path" |
Definition at line 79 of file h2.h.
◆ H2_HEADER_PATH_LEN
Definition at line 80 of file h2.h.
◆ H2_HEADER_PROTO
| #define H2_HEADER_PROTO ":protocol" |
Definition at line 81 of file h2.h.
◆ H2_HEADER_PROTO_LEN
Definition at line 82 of file h2.h.
◆ H2_HEADER_SCHEME
| #define H2_HEADER_SCHEME ":scheme" |
Definition at line 75 of file h2.h.
◆ H2_HEADER_SCHEME_LEN
| #define H2_HEADER_SCHEME_LEN 7 |
Definition at line 76 of file h2.h.
◆ H2_HTTP_STATUS_UNSET
| #define H2_HTTP_STATUS_UNSET (0) |
Definition at line 190 of file h2.h.
◆ H2_INITIAL_WINDOW_SIZE
| #define H2_INITIAL_WINDOW_SIZE ((64*1024)-1) |
Definition at line 94 of file h2.h.
◆ H2_MAX_PADLEN
Definition at line 92 of file h2.h.
◆ H2_PUSH_MODE_NOTE
Definition at line 200 of file h2.h.
◆ H2_STREAM_CLIENT_INITIATED
| #define H2_STREAM_CLIENT_INITIATED |
( |
|
id | ) |
(id&0x01) |
Definition at line 96 of file h2.h.
◆ H2_USE_PIPES
Definition at line 35 of file h2.h.
◆ H2_USE_POLLFD_FROM_CONN
| #define H2_USE_POLLFD_FROM_CONN 1 |
Definition at line 39 of file h2.h.
◆ H2_USE_WEBSOCKETS
Definition at line 49 of file h2.h.
◆ H2MAX
| #define H2MAX |
( |
|
x, |
|
|
|
y |
|
) |
| ((x) > (y) ? (x) : (y)) |
Definition at line 100 of file h2.h.
◆ H2MIN
| #define H2MIN |
( |
|
x, |
|
|
|
y |
|
) |
| ((x) < (y) ? (x) : (y)) |
Definition at line 101 of file h2.h.
◆ h2_io_data_cb
Definition at line 192 of file h2.h.
◆ h2_priority
◆ h2_request
Definition at line 168 of file h2.h.
◆ h2_session_props
◆ h2_stream_get_fn
Definition at line 195 of file h2.h.
◆ h2_stream_pri_cmp_fn
Definition at line 194 of file h2.h.
◆ h2_stream_state_t
◆ h2_dependency
| Enumerator |
|---|
| H2_DEPENDANT_AFTER | |
| H2_DEPENDANT_INTERLEAVED | |
| H2_DEPENDANT_BEFORE | |
Definition at line 103 of file h2.h.
◆ h2_push_policy
| Enumerator |
|---|
| H2_PUSH_NONE | |
| H2_PUSH_DEFAULT | |
| H2_PUSH_HEAD | |
| H2_PUSH_FAST_LOAD | |
Definition at line 114 of file h2.h.
◆ h2_session_state
| Enumerator |
|---|
| H2_SESSION_ST_INIT | |
| H2_SESSION_ST_DONE | |
| H2_SESSION_ST_IDLE | |
| H2_SESSION_ST_BUSY | |
| H2_SESSION_ST_WAIT | |
| H2_SESSION_ST_CLEANUP | |
Definition at line 121 of file h2.h.
◆ h2_stream_event_t
| Enumerator |
|---|
| H2_SEV_CLOSED_L | |
| H2_SEV_CLOSED_R | |
| H2_SEV_CANCELLED | |
| H2_SEV_EOS_SENT | |
| H2_SEV_IN_ERROR | |
| H2_SEV_IN_DATA_PENDING | |
| H2_SEV_OUT_C1_BLOCK | |
Definition at line 153 of file h2.h.
◆ h2_stream_state_t
| Enumerator |
|---|
| H2_SS_IDLE | |
| H2_SS_RSVD_R | |
| H2_SS_RSVD_L | |
| H2_SS_OPEN | |
| H2_SS_CLOSED_R | |
| H2_SS_CLOSED_L | |
| H2_SS_CLOSED | |
| H2_SS_CLEANUP | |
| H2_SS_MAX | |
Definition at line 141 of file h2.h.
◆ H2_MAGIC_TOKEN
The magic PRIamble of RFC 7540 that is always sent when starting a h2 communication.
Definition at line 56 of file h2_protocol.c.