Lines Matching refs:request
330 fcgi_request *request = (fcgi_request*) SG(server_context); in sapi_fcgi_ub_write() local
334 int ret = fcgi_write(request, FCGI_STDOUT, ptr, to_write); in sapi_fcgi_ub_write()
356 fcgi_request *request = (fcgi_request*) server_context; in sapi_fcgi_flush() local
360 request && !fcgi_flush(request, 0)) { in sapi_fcgi_flush()
507 fcgi_request *request = (fcgi_request*) SG(server_context); in sapi_fcgi_read_post() local
517 tmp_read_bytes = fcgi_read(request, buffer + read_bytes, to_read); in sapi_fcgi_read_post()
575 fcgi_request *request = (fcgi_request*) SG(server_context); in sapi_fcgi_getenv() local
576 char *ret = fcgi_getenv(request, name, (int)name_len); in sapi_fcgi_getenv()
648 fcgi_request *request = (fcgi_request*) SG(server_context); in sapi_fcgi_read_cookies() local
650 return FCGI_GETENV(request, "HTTP_COOKIE"); in sapi_fcgi_read_cookies()
683 fcgi_request *request = (fcgi_request*) SG(server_context); in cgi_php_import_environment_variables() local
684 fcgi_loadenv(request, cgi_php_load_env_var, array_ptr); in cgi_php_import_environment_variables()
705 fcgi_request *request = (fcgi_request*) SG(server_context); in sapi_cgi_register_variables() local
707 path_info = FCGI_GETENV(request, "PATH_INFO"); in sapi_cgi_register_variables()
757 fcgi_request *request; in sapi_cgi_log_message() local
759 request = (fcgi_request*) SG(server_context); in sapi_cgi_log_message()
760 if (request) { in sapi_cgi_log_message()
766 ret = fcgi_write(request, FCGI_STDERR, buf, (int)(len + 1)); in sapi_cgi_log_message()
872 fcgi_request *request = (fcgi_request*) SG(server_context); local
874 server_name = FCGI_GETENV(request, "SERVER_NAME");
917 fcgi_request *request = (fcgi_request*) SG(server_context); local
919 doc_root = FCGI_GETENV(request, "DOCUMENT_ROOT");
1084 FCGI_GETENV(request, name) : \
1089 FCGI_PUTENV(request, name, value) : \
1158 static void init_request_info(fcgi_request *request) argument
1160 int has_env = fcgi_has_env(request);
1582 fcgi_request *request = (fcgi_request*) SG(server_context); local
1584 fcgi_loadenv(request, sapi_add_request_header, return_value);
1736 fcgi_request *request = NULL; local
1961 request = fcgi_init_request(fcgi_fd, NULL, NULL, NULL);
2247 if (request) {
2248 fcgi_destroy_request(request);
2274 while (!fastcgi || fcgi_accept_request(request) >= 0) {
2275 SG(server_context) = fastcgi ? (void *)request : (void *) 1;
2276 init_request_info(request);
2444 fcgi_finish_request(request, 1);
2590 fcgi_finish_request(request, 1);
2601 if (request) {
2602 fcgi_destroy_request(request);