sr 134 http/modules/ngx_http_addition_filter_module.c ngx_http_request_t *sr; sr 154 http/modules/ngx_http_addition_filter_module.c if (ngx_http_subrequest(r, &conf->before_body, NULL, &sr, NULL, 0) sr 183 http/modules/ngx_http_addition_filter_module.c if (ngx_http_subrequest(r, &conf->after_body, NULL, &sr, NULL, 0) sr 1833 http/modules/ngx_http_ssi_filter_module.c ngx_http_request_t *sr; sr 2030 http/modules/ngx_http_ssi_filter_module.c if (ngx_http_subrequest(r, uri, &args, &sr, psr, flags) != NGX_OK) { sr 2039 http/modules/ngx_http_ssi_filter_module.c ctx->wait = sr; sr 24 http/ngx_http.h ngx_http_request_t *sr, u_char *buf, size_t len); sr 2172 http/ngx_http_core_module.c ngx_http_request_t *sr; sr 2185 http/ngx_http_core_module.c sr = ngx_pcalloc(r->pool, sizeof(ngx_http_request_t)); sr 2186 http/ngx_http_core_module.c if (sr == NULL) { sr 2190 http/ngx_http_core_module.c sr->signature = NGX_HTTP_MODULE; sr 2193 http/ngx_http_core_module.c sr->connection = c; sr 2195 http/ngx_http_core_module.c sr->ctx = ngx_pcalloc(r->pool, sizeof(void *) * ngx_http_max_module); sr 2196 http/ngx_http_core_module.c if (sr->ctx == NULL) { sr 2200 http/ngx_http_core_module.c if (ngx_list_init(&sr->headers_out.headers, r->pool, 20, sr 2208 http/ngx_http_core_module.c sr->main_conf = cscf->ctx->main_conf; sr 2209 http/ngx_http_core_module.c sr->srv_conf = cscf->ctx->srv_conf; sr 2210 http/ngx_http_core_module.c sr->loc_conf = cscf->ctx->loc_conf; sr 2212 http/ngx_http_core_module.c sr->pool = r->pool; sr 2214 http/ngx_http_core_module.c sr->headers_in = r->headers_in; sr 2216 http/ngx_http_core_module.c ngx_http_clear_content_length(sr); sr 2217 http/ngx_http_core_module.c ngx_http_clear_accept_ranges(sr); sr 2218 http/ngx_http_core_module.c ngx_http_clear_last_modified(sr); sr 2220 http/ngx_http_core_module.c sr->request_body = r->request_body; sr 2222 http/ngx_http_core_module.c sr->method = NGX_HTTP_GET; sr 2223 http/ngx_http_core_module.c sr->http_version = r->http_version; sr 2225 http/ngx_http_core_module.c sr->request_line = r->request_line; sr 2226 http/ngx_http_core_module.c sr->uri = *uri; sr 2229 http/ngx_http_core_module.c sr->args = *args; sr 2233 http/ngx_http_core_module.c "http subrequest \"%V?%V\"", uri, &sr->args); sr 2235 http/ngx_http_core_module.c sr->subrequest_in_memory = (flags & NGX_HTTP_SUBREQUEST_IN_MEMORY) != 0; sr 2236 http/ngx_http_core_module.c sr->waited = (flags & NGX_HTTP_SUBREQUEST_WAITED) != 0; sr 2238 http/ngx_http_core_module.c sr->unparsed_uri = r->unparsed_uri; sr 2239 http/ngx_http_core_module.c sr->method_name = ngx_http_core_get_method; sr 2240 http/ngx_http_core_module.c sr->http_protocol = r->http_protocol; sr 2242 http/ngx_http_core_module.c ngx_http_set_exten(sr); sr 2244 http/ngx_http_core_module.c sr->main = r->main; sr 2245 http/ngx_http_core_module.c sr->parent = r; sr 2246 http/ngx_http_core_module.c sr->post_subrequest = ps; sr 2247 http/ngx_http_core_module.c sr->read_event_handler = ngx_http_request_empty_handler; sr 2248 http/ngx_http_core_module.c sr->write_event_handler = ngx_http_handler; sr 2251 http/ngx_http_core_module.c c->data = sr; sr 2254 http/ngx_http_core_module.c sr->variables = r->variables; sr 2256 http/ngx_http_core_module.c sr->log_handler = r->log_handler; sr 2263 http/ngx_http_core_module.c pr->request = sr; sr 2275 http/ngx_http_core_module.c sr->internal = 1; sr 2277 http/ngx_http_core_module.c sr->discard_body = r->discard_body; sr 2278 http/ngx_http_core_module.c sr->expect_tested = 1; sr 2279 http/ngx_http_core_module.c sr->main_filter_need_in_memory = r->main_filter_need_in_memory; sr 2281 http/ngx_http_core_module.c sr->uri_changes = NGX_HTTP_MAX_URI_CHANGES + 1; sr 2290 http/ngx_http_core_module.c *psr = sr; sr 2292 http/ngx_http_core_module.c return ngx_http_post_request(sr, NULL); sr 475 http/ngx_http_core_module.h ngx_str_t *uri, ngx_str_t *args, ngx_http_request_t **sr, sr 59 http/ngx_http_request.c ngx_http_request_t *sr, u_char *buf, size_t len); sr 3084 http/ngx_http_request.c ngx_http_log_error_handler(ngx_http_request_t *r, ngx_http_request_t *sr, sr 3115 http/ngx_http_request.c if (r != sr) { sr 3116 http/ngx_http_request.c p = ngx_snprintf(buf, len, ", subrequest: \"%V\"", &sr->uri); sr 3121 http/ngx_http_request.c u = sr->upstream;