Lines Matching refs:request
329 fcgi_request *request = (fcgi_request*) SG(server_context); in sapi_fcgi_ub_write() local
333 int ret = fcgi_write(request, FCGI_STDOUT, ptr, to_write); in sapi_fcgi_ub_write()
355 fcgi_request *request = (fcgi_request*) server_context; in sapi_fcgi_flush() local
359 request && !fcgi_flush(request, 0)) { in sapi_fcgi_flush()
506 fcgi_request *request = (fcgi_request*) SG(server_context); in sapi_fcgi_read_post() local
516 tmp_read_bytes = fcgi_read(request, buffer + read_bytes, to_read); in sapi_fcgi_read_post()
574 fcgi_request *request = (fcgi_request*) SG(server_context); in sapi_fcgi_getenv() local
575 char *ret = fcgi_getenv(request, name, (int)name_len); in sapi_fcgi_getenv()
647 fcgi_request *request = (fcgi_request*) SG(server_context); in sapi_fcgi_read_cookies() local
649 return FCGI_GETENV(request, "HTTP_COOKIE"); in sapi_fcgi_read_cookies()
682 fcgi_request *request = (fcgi_request*) SG(server_context); in cgi_php_import_environment_variables() local
683 fcgi_loadenv(request, cgi_php_load_env_var, array_ptr); in cgi_php_import_environment_variables()
704 fcgi_request *request = (fcgi_request*) SG(server_context); in sapi_cgi_register_variables() local
706 path_info = FCGI_GETENV(request, "PATH_INFO"); in sapi_cgi_register_variables()
756 fcgi_request *request; in sapi_cgi_log_message() local
758 request = (fcgi_request*) SG(server_context); in sapi_cgi_log_message()
759 if (request) { in sapi_cgi_log_message()
765 ret = fcgi_write(request, FCGI_STDERR, buf, (int)(len + 1)); in sapi_cgi_log_message()
871 fcgi_request *request = (fcgi_request*) SG(server_context); local
873 server_name = FCGI_GETENV(request, "SERVER_NAME");
916 fcgi_request *request = (fcgi_request*) SG(server_context); local
918 doc_root = FCGI_GETENV(request, "DOCUMENT_ROOT");
1086 FCGI_GETENV(request, name) : \
1091 FCGI_PUTENV(request, name, value) : \
1160 static void init_request_info(fcgi_request *request) argument
1162 int has_env = fcgi_has_env(request);
1584 fcgi_request *request = (fcgi_request*) SG(server_context); local
1586 fcgi_loadenv(request, sapi_add_request_header, return_value);
1738 fcgi_request *request = NULL; local
1976 request = fcgi_init_request(fcgi_fd, NULL, NULL, NULL);
2262 if (request) {
2263 fcgi_destroy_request(request);
2289 while (!fastcgi || fcgi_accept_request(request) >= 0) {
2290 SG(server_context) = fastcgi ? (void *)request : (void *) 1;
2291 init_request_info(request);
2469 fcgi_finish_request(request, 1);
2610 fcgi_finish_request(request, 1);
2621 if (request) {
2622 fcgi_destroy_request(request);