17 #ifndef h2_bucket_beam_h
18 #define h2_bucket_beam_h
98 int id,
const char *tag,
apr_read_type_e
Definition: apr_buckets.h:62
apr_bucket_brigade ap_input_mode_t apr_read_type_e apr_off_t readbytes
Definition: mod_dav.h:2664
apr_bucket_brigade * bb
Definition: mod_dav.h:555
apr_bucket_brigade request_rec apr_pool_t * pool
Definition: mod_dav.h:557
apr_bucket_brigade ap_input_mode_t apr_read_type_e block
Definition: mod_dav.h:2663
int apr_status_t
Definition: apr_errno.h:44
struct apr_pool_t apr_pool_t
Definition: apr_pools.h:60
apr_int64_t apr_interval_time_t
Definition: apr_time.h:55
void h2_beam_ev_callback(void *ctx, h2_bucket_beam *beam)
Definition: h2_bucket_beam.h:34
apr_status_t h2_beam_create(h2_bucket_beam **pbeam, conn_rec *from, apr_pool_t *pool, int id, const char *tag, apr_size_t buffer_size, apr_interval_time_t timeout)
void h2_beam_abort(h2_bucket_beam *beam, conn_rec *c)
apr_size_t h2_beam_buffer_size_get(h2_bucket_beam *beam)
void h2_beam_on_received(h2_bucket_beam *beam, h2_beam_ev_callback *recv_cb, void *ctx)
apr_interval_time_t h2_beam_timeout_get(h2_bucket_beam *beam)
void h2_beam_on_eagain(h2_bucket_beam *beam, h2_beam_ev_callback *eagain_cb, void *ctx)
apr_status_t h2_beam_destroy(h2_bucket_beam *beam, conn_rec *c)
void h2_beam_on_send(h2_bucket_beam *beam, h2_beam_ev_callback *on_send_cb, void *ctx)
void h2_beam_on_was_empty(h2_bucket_beam *beam, h2_beam_ev_callback *was_empty_cb, void *ctx)
int h2_beam_empty(h2_bucket_beam *beam)
void h2_beam_timeout_set(h2_bucket_beam *beam, apr_interval_time_t timeout)
void h2_beam_close(h2_bucket_beam *beam, conn_rec *c)
apr_off_t h2_beam_get_mem_used(h2_bucket_beam *beam)
int h2_beam_is_complete(h2_bucket_beam *beam)
apr_status_t h2_beam_send(h2_bucket_beam *beam, conn_rec *from, apr_bucket_brigade *bb, apr_read_type_e block, apr_off_t *pwritten)
void h2_beam_set_copy_files(h2_bucket_beam *beam, int enabled)
int h2_beam_report_consumption(h2_bucket_beam *beam)
void h2_beam_on_consumed(h2_bucket_beam *beam, h2_beam_io_callback *io_cb, void *ctx)
void h2_beam_io_callback(void *ctx, h2_bucket_beam *beam, apr_off_t bytes)
Definition: h2_bucket_beam.h:32
apr_off_t h2_beam_get_buffered(h2_bucket_beam *beam)
void h2_beam_buffer_size_set(h2_bucket_beam *beam, apr_size_t buffer_size)
apr_status_t h2_beam_receive(h2_bucket_beam *beam, conn_rec *to, apr_bucket_brigade *bb, apr_read_type_e block, apr_off_t readbytes)
Definition: apr_buckets.h:263
Definition: apr_buckets.h:229
Definition: apr_arch_thread_cond.h:34
Definition: apr_arch_thread_mutex.h:28
Structure to store things which are per connection.
Definition: httpd.h:1193
Definition: h2_bucket_beam.h:40
APR_RING_HEAD(h2_bucket_list, apr_bucket) list
Definition: h2_bucket_beam.h:44
h2_blist buckets_consumed
Definition: h2_bucket_beam.h:50
void * eagain_ctx
Definition: h2_bucket_beam.h:71
apr_pool_t * pool
Definition: h2_bucket_beam.h:48
void * cons_ctx
Definition: h2_bucket_beam.h:76
const char * name
Definition: h2_bucket_beam.h:46
int id
Definition: h2_bucket_beam.h:45
int copy_files
Definition: h2_bucket_beam.h:59
h2_blist buckets_eor
Definition: h2_bucket_beam.h:51
struct apr_thread_cond_t * change
Definition: h2_bucket_beam.h:62
h2_beam_ev_callback * eagain_cb
Definition: h2_bucket_beam.h:70
int tx_mem_limits
Definition: h2_bucket_beam.h:58
int aborted
Definition: h2_bucket_beam.h:56
h2_beam_ev_callback * recv_cb
Definition: h2_bucket_beam.h:66
void * send_ctx
Definition: h2_bucket_beam.h:69
apr_off_t recv_bytes_reported
Definition: h2_bucket_beam.h:74
h2_beam_ev_callback * send_cb
Definition: h2_bucket_beam.h:68
int closed
Definition: h2_bucket_beam.h:57
apr_size_t max_buf_size
Definition: h2_bucket_beam.h:53
apr_off_t recv_bytes
Definition: h2_bucket_beam.h:73
void * was_empty_ctx
Definition: h2_bucket_beam.h:65
h2_blist buckets_to_send
Definition: h2_bucket_beam.h:49
apr_interval_time_t timeout
Definition: h2_bucket_beam.h:54
h2_beam_io_callback * cons_io_cb
Definition: h2_bucket_beam.h:75
void * recv_ctx
Definition: h2_bucket_beam.h:67
struct apr_thread_mutex_t * lock
Definition: h2_bucket_beam.h:61
h2_beam_ev_callback * was_empty_cb
Definition: h2_bucket_beam.h:64
conn_rec * from
Definition: h2_bucket_beam.h:47