• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/apache-793/httpd/modules/mappers/

Lines Matching defs:sub_req

203     request_rec *sub_req;       /* May be NULL (is, for map files) */
281 mime_info->sub_req = NULL;
1129 request_rec *sub_req;
1163 sub_req = ap_sub_req_lookup_dirent(&dirent, r, AP_SUBREQ_MERGE_ARGS,
1168 if (sub_req->finfo.filetype != APR_REG) {
1177 if (sub_req->handler && !sub_req->content_type) {
1178 ap_set_content_type(sub_req, CGI_MAGIC_TYPE);
1191 (apr_array_header_t *)apr_table_get(sub_req->notes,
1195 ap_destroy_sub_req(sub_req);
1235 ap_destroy_sub_req(sub_req);
1244 if (sub_req->status != HTTP_OK || (!sub_req->content_type)) {
1245 ap_destroy_sub_req(sub_req);
1252 if (((sub_req->content_type) &&
1253 !strcmp(sub_req->content_type, MAP_FILE_MAGIC_TYPE)) ||
1254 ((sub_req->handler) &&
1255 !strcmp(sub_req->handler, "type-map"))) {
1259 if (sub_req->status != HTTP_OK) {
1260 return sub_req->status;
1262 return read_type_map(NULL, neg, sub_req);
1267 mime_info.sub_req = sub_req;
1269 if (sub_req->content_encoding) {
1270 mime_info.content_encoding = sub_req->content_encoding;
1272 if (sub_req->content_languages) {
1273 mime_info.content_languages = sub_req->content_languages;
1276 get_entry(neg->pool, &accept_info, sub_req->content_type);
1748 if ( variant->sub_req
1749 && (variant->sub_req->finfo.valid & APR_FINFO_SIZE)) {
1750 variant->bytes = variant->sub_req->finfo.size;
2589 if (!(variant->sub_req && variant->sub_req->handler)
2709 request_rec *sub_req;
2712 if (!variant->sub_req) {
2715 sub_req = ap_sub_req_lookup_file(variant->file_name, r, r->output_filters);
2716 status = sub_req->status;
2719 !apr_table_get(sub_req->err_headers_out, "TCN")) {
2720 ap_destroy_sub_req(sub_req);
2723 variant->sub_req = sub_req;
2726 sub_req = variant->sub_req;
2752 apr_table_get(sub_req->err_headers_out, "TCN")) {
2779 if (sub_req->handler && strcmp(sub_req->handler, "type-map") == 0) {
2787 * returned by a CGI if sub_req is a CGI script, because we don't
2795 if ((sub_vary = apr_table_get(sub_req->err_headers_out, "Vary")) != NULL) {
2803 apr_table_unset(sub_req->err_headers_out, "Vary");
3087 request_rec *sub_req;
3104 if (variant->sub_req) {
3105 ap_destroy_sub_req(variant->sub_req);
3120 if (!(sub_req = best->sub_req)) {
3122 * a sub_req structure yet. Get one now.
3125 sub_req = ap_sub_req_lookup_file(best->file_name, r, r->output_filters);
3126 if (sub_req->status != HTTP_OK) {
3127 res = sub_req->status;
3128 ap_destroy_sub_req(sub_req);
3132 if (sub_req->args == NULL) {
3133 sub_req->args = r->args;
3136 /* now do a "fast redirect" ... promotes the sub_req into the main req */
3137 ap_internal_fast_redirect(sub_req, r);
3145 /* clean up all but our favorite variant, since that sub_req
3151 if (variant != best && variant->sub_req) {
3152 ap_destroy_sub_req(variant->sub_req);