Home | History | Annotate | Download | only in mod_ecs

Lines Matching refs:wrap

8 with the cgi_wrap calls from that kit.  Those calls wrap the standard CGI 
194 WRAPPER_DATA *wrap = (WRAPPER_DATA *)data;
201 if (!wrap->end_of_header)
203 wl = header_write (&(wrap->hbuf), buf, len);
208 wrap->end_of_header = 1;
209 wrap->hbuf.loc = 0;
211 fprintf (stderr, "ap_scan_script_header_err_core\n%s\n", wrap->hbuf.buf);
213 wrap->returns = ap_scan_script_header_err_core(wrap->r, NULL, h_getline,
214 (void *)&(wrap->hbuf));
224 if (wrap->returns == OK)
226 const char* location = ap_table_get (wrap->r->headers_out, "Location");
228 if (location && location[0] == '/' && wrap->r->status == 200)
230 wrap->returns = INTERNAL_REDIRECT;
232 else if (location && wrap->r->status == 200)
237 wrap->returns = REDIRECT;
244 ap_send_http_header(wrap->r);
252 if ((wrap->returns != OK) || wrap->r->header_only)
259 ret = ap_rwrite (buf, len, wrap->r);
277 WRAPPER_DATA *wrap = (WRAPPER_DATA *)data;
286 ret = ap_get_client_block(wrap->r, buf + x, len - x);
299 WRAPPER_DATA *wrap = (WRAPPER_DATA *)data;
302 v = (char *) ap_table_get (wrap->r->subprocess_env, s);
309 WRAPPER_DATA *wrap = (WRAPPER_DATA *)data;
311 ap_table_set (wrap->r->subprocess_env, k, v);
318 WRAPPER_DATA *wrap = (WRAPPER_DATA *)data;
319 array_header *env = ap_table_elts(wrap->r->subprocess_env);
470 err = ap_psprintf (p, "Failed to find wrap init function %s in shared object: %s", WrapInit, dlerror());