Apache2
|
Go to the source code of this file.
Data Structures | |
struct | h2_c1_io |
Functions | |
apr_status_t | h2_c1_io_init (h2_c1_io *io, struct h2_session *session) |
apr_status_t | h2_c1_io_add_data (h2_c1_io *io, const char *buf, size_t length) |
apr_status_t | h2_c1_io_add (h2_c1_io *io, apr_bucket *b) |
apr_status_t | h2_c1_io_append (h2_c1_io *io, apr_bucket_brigade *bb) |
apr_status_t | h2_c1_io_pass (h2_c1_io *io) |
apr_status_t | h2_c1_io_assure_flushed (h2_c1_io *io) |
int | h2_c1_io_needs_flush (h2_c1_io *io) |
int | h2_c1_io_pending (h2_c1_io *io) |
apr_status_t | h2_c1_read (struct h2_session *session) |
apr_status_t h2_c1_io_add | ( | h2_c1_io * | io, |
apr_bucket * | b | ||
) |
apr_status_t h2_c1_io_add_data | ( | h2_c1_io * | io, |
const char * | buf, | ||
size_t | length | ||
) |
Append data to the buffered output.
buf | the data to append |
length | the length of the data to append |
apr_status_t h2_c1_io_append | ( | h2_c1_io * | io, |
apr_bucket_brigade * | bb | ||
) |
apr_status_t h2_c1_io_assure_flushed | ( | h2_c1_io * | io | ) |
if there is any data pendiong or was any data send since the last FLUSH, send out a FLUSH now.
apr_status_t h2_c1_io_init | ( | h2_c1_io * | io, |
struct h2_session * | session | ||
) |
apr_status_t h2_c1_io_pass | ( | h2_c1_io * | io | ) |
Pass any buffered data on to the connection output filters.
io | the connection io |
apr_status_t h2_c1_read | ( | struct h2_session * | session | ) |
Read c1 input and pass it on to nghttp2.
session | the session |
when_pending | != 0 if only pending input (sitting in filters) needs to be read |