HTTP stream. More...
#include <netevent.h>
Public Types | |
enum | { HTTP_METHOD_POST = 1 , HTTP_METHOD_GET , HTTP_METHOD_UNSUPPORTED } |
HTTP method used for this stream. | |
Data Fields | |
struct http2_stream * | next |
next stream in list per session | |
struct http2_stream * | prev |
previous stream in list per session | |
int32_t | stream_id |
HTTP2 stream ID is an unsigned 31-bit integer. | |
enum http2_stream:: { ... } | http_method |
HTTP method used for this stream. | |
int | invalid_content_type |
message contains invalid content type | |
size_t | content_length |
message body content type | |
enum http_status | status |
HTTP response status. | |
int | invalid_endpoint |
request for non existing endpoint | |
int | query_too_large |
query in request is too large | |
struct sldns_buffer * | qbuffer |
buffer to store query into. More... | |
struct sldns_buffer * | rbuffer |
buffer to store response into. More... | |
struct mesh_area * | mesh |
mesh area containing mesh state | |
struct mesh_state * | mesh_state |
mesh state for query. More... | |
HTTP stream.
Part of list of HTTP2 streams per session.
struct sldns_buffer* http2_stream::qbuffer |
buffer to store query into.
Can't use session shared buffer as query can arrive in parts, intertwined with frames for other queries.
struct sldns_buffer* http2_stream::rbuffer |
buffer to store response into.
Can't use shared buffer as a next query read callback can overwrite it before it is send out.
struct mesh_state* http2_stream::mesh_state |
mesh state for query.
Used to remove mesh reply before closing stream.
Referenced by http2_stream_add_meshstate(), and http2_stream_remove_mesh_state().