Lines Matching refs:request

328 	fcgi_request *request = (fcgi_request*) SG(server_context);  in sapi_fcgi_ub_write()  local
332 int ret = fcgi_write(request, FCGI_STDOUT, ptr, to_write); in sapi_fcgi_ub_write()
354 fcgi_request *request = (fcgi_request*) server_context; in sapi_fcgi_flush() local
360 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()
536 fcgi_request *request = (fcgi_request*) SG(server_context); in sapi_fcgi_getenv() local
537 char *ret = fcgi_getenv(request, name, (int)name_len); in sapi_fcgi_getenv()
597 fcgi_request *request = (fcgi_request*) SG(server_context); in sapi_fcgi_read_cookies() local
599 return FCGI_GETENV(request, "HTTP_COOKIE"); in sapi_fcgi_read_cookies()
635 fcgi_request *request = (fcgi_request*) SG(server_context); in cgi_php_import_environment_variables() local
636 fcgi_loadenv(request, cgi_php_load_env_var, array_ptr); in cgi_php_import_environment_variables()
657 fcgi_request *request = (fcgi_request*) SG(server_context); in sapi_cgi_register_variables() local
659 path_info = FCGI_GETENV(request, "PATH_INFO"); in sapi_cgi_register_variables()
709 fcgi_request *request; in sapi_cgi_log_message() local
711 request = (fcgi_request*) SG(server_context); in sapi_cgi_log_message()
712 if (request) { in sapi_cgi_log_message()
718 ret = fcgi_write(request, FCGI_STDERR, buf, (int)(len + 1)); in sapi_cgi_log_message()
823 fcgi_request *request = (fcgi_request*) SG(server_context); local
825 server_name = FCGI_GETENV(request, "SERVER_NAME");
863 fcgi_request *request = (fcgi_request*) SG(server_context); local
865 doc_root = FCGI_GETENV(request, "DOCUMENT_ROOT");
1043 FCGI_GETENV(request, name) : \
1048 FCGI_PUTENV(request, name, value) : \
1117 static void init_request_info(fcgi_request *request) argument
1119 int has_env = fcgi_has_env(request);
1566 fcgi_request *request = (fcgi_request*) SG(server_context); local
1568 fcgi_loadenv(request, add_request_header, return_value);
1732 fcgi_request *request = NULL; local
1980 request = fcgi_init_request(fcgi_fd, NULL, NULL, NULL);
2109 if (request) {
2110 fcgi_destroy_request(request);
2133 while (!fastcgi || fcgi_accept_request(request) >= 0) {
2134 SG(server_context) = fastcgi ? (void *)request : (void *) 1;
2135 init_request_info(request);
2320 fcgi_finish_request(request, 1);
2537 fcgi_finish_request(request, 1);
2550 if (request) {
2551 fcgi_destroy_request(request);