Lines Matching defs:req
35 struct apache2_handle *req = (struct apache2_handle *)handle;
37 if (req->f == NULL) {
38 req->f = ap_add_input_filter(APREQ_FILTER_NAME, NULL,
39 req->r,
40 req->r->connection);
44 apreq_filter_relocate(req->f);
47 return req->f;
53 struct apache2_handle *req = (struct apache2_handle*)handle;
54 request_rec *r = req->r;
56 if (req->jar_status == APR_EINIT) {
59 req->jar = apr_table_make(handle->pool, APREQ_DEFAULT_NELTS);
60 req->jar_status =
61 apreq_parse_cookie_header(handle->pool, req->jar, cookies);
64 req->jar_status = APREQ_ERROR_NODATA;
67 *t = req->jar;
68 return req->jar_status;
73 struct apache2_handle *req = (struct apache2_handle*)handle;
74 request_rec *r = req->r;
76 if (req->args_status == APR_EINIT) {
78 req->args = apr_table_make(handle->pool, APREQ_DEFAULT_NELTS);
79 req->args_status =
80 apreq_parse_query_string(handle->pool, req->args, r->args);
83 req->args_status = APREQ_ERROR_NODATA;
86 *t = req->args;
87 return req->args_status;
95 struct apache2_handle *req = (struct apache2_handle *)handle;
99 if (req->jar_status == APR_EINIT)
102 t = req->jar;
116 struct apache2_handle *req = (struct apache2_handle *)handle;
120 if (req->args_status == APR_EINIT)
123 t = req->args;
416 struct apache2_handle *req =
419 if (req != NULL) {
420 get_apreq_filter(&req->handle);
421 return &req->handle;
424 req = apr_palloc(r->pool, sizeof *req);
425 ap_set_module_config(r->request_config, &apreq_module, req);
427 req->handle.module = &apache2_module;
428 req->handle.pool = r->pool;
429 req->handle.bucket_alloc = r->connection->bucket_alloc;
430 req->r = r;
432 req->args_status = req->jar_status = APR_EINIT;
433 req->args = req->jar = NULL;
435 req->f = NULL;
437 get_apreq_filter(&req->handle);
438 return &req->handle;