h2_task.h File Reference
#include <http_core.h>
Include dependency graph for h2_task.h:

Go to the source code of this file.

Data Structures

struct  h2_task


typedef struct h2_task h2_task


h2_taskh2_task_create (conn_rec *secondary, int stream_id, const h2_request *req, struct h2_mplx *m, struct h2_bucket_beam *input, apr_interval_time_t timeout, apr_size_t output_max_mem)
void h2_task_destroy (h2_task *task)
apr_status_t h2_task_do (h2_task *task, apr_thread_t *thread, int worker_id)
void h2_task_redo (h2_task *task)
int h2_task_can_redo (h2_task *task)
int h2_task_has_started (h2_task *task)
void h2_task_rst (h2_task *task, int error)
void h2_task_register_hooks (void)
apr_status_t h2_task_init (apr_pool_t *pool, server_rec *s)
 APR_OPTIONAL_FN_TYPE (ap_logio_add_bytes_in)*h2_task_logio_add_bytes_in
 APR_OPTIONAL_FN_TYPE (ap_logio_add_bytes_out)*h2_task_logio_add_bytes_out

Typedef Documentation

typedef struct h2_task h2_task

Function Documentation

APR_OPTIONAL_FN_TYPE ( ap_logio_add_bytes_in  )
APR_OPTIONAL_FN_TYPE ( ap_logio_add_bytes_out  )
int h2_task_can_redo ( h2_task task)
h2_task* h2_task_create ( conn_rec secondary,
int  stream_id,
const h2_request req,
struct h2_mplx m,
struct h2_bucket_beam input,
apr_interval_time_t  timeout,
apr_size_t  output_max_mem 
void h2_task_destroy ( h2_task task)
apr_status_t h2_task_do ( h2_task task,
apr_thread_t thread,
int  worker_id 
int h2_task_has_started ( h2_task task)
apr_status_t h2_task_init ( apr_pool_t pool,
server_rec s 
void h2_task_redo ( h2_task task)
void h2_task_register_hooks ( void  )
void h2_task_rst ( h2_task task,
int  error 

Reset the task with the given error code, resets all input/output.