Lines Matching refs:request

333 	fcgi_request *request = (fcgi_request*) SG(server_context);  in sapi_fcgi_ub_write()  local
337 int ret = fcgi_write(request, FCGI_STDOUT, ptr, to_write); in sapi_fcgi_ub_write()
359 fcgi_request *request = (fcgi_request*) server_context; in sapi_fcgi_flush() local
361 if (!parent && request) { in sapi_fcgi_flush()
363 if (!fcgi_flush(request, 0)) { in sapi_fcgi_flush()
510 fcgi_request *request = (fcgi_request*) SG(server_context); in sapi_fcgi_read_post() local
520 tmp_read_bytes = fcgi_read(request, buffer + read_bytes, to_read); in sapi_fcgi_read_post()
578 fcgi_request *request = (fcgi_request*) SG(server_context); in sapi_fcgi_getenv() local
579 char *ret = fcgi_getenv(request, name, (int)name_len); in sapi_fcgi_getenv()
651 fcgi_request *request = (fcgi_request*) SG(server_context); in sapi_fcgi_read_cookies() local
653 return FCGI_GETENV(request, "HTTP_COOKIE"); in sapi_fcgi_read_cookies()
686 fcgi_request *request = (fcgi_request*) SG(server_context); in cgi_php_import_environment_variables() local
687 fcgi_loadenv(request, cgi_php_load_env_var, array_ptr); in cgi_php_import_environment_variables()
708 fcgi_request *request = (fcgi_request*) SG(server_context); in sapi_cgi_register_variables() local
710 path_info = FCGI_GETENV(request, "PATH_INFO"); in sapi_cgi_register_variables()
760 fcgi_request *request; in sapi_cgi_log_message() local
762 request = (fcgi_request*) SG(server_context); in sapi_cgi_log_message()
763 if (request) { in sapi_cgi_log_message()
769 ret = fcgi_write(request, FCGI_STDERR, buf, (int)(len + 1)); in sapi_cgi_log_message()
875 fcgi_request *request = (fcgi_request*) SG(server_context); local
877 server_name = FCGI_GETENV(request, "SERVER_NAME");
920 fcgi_request *request = (fcgi_request*) SG(server_context); local
922 doc_root = FCGI_GETENV(request, "DOCUMENT_ROOT");
1087 FCGI_GETENV(request, name) : \
1092 FCGI_PUTENV(request, name, value) : \
1161 static void init_request_info(fcgi_request *request) argument
1163 int has_env = fcgi_has_env(request);
1585 fcgi_request *request = (fcgi_request*) SG(server_context); local
1587 fcgi_loadenv(request, sapi_add_request_header, return_value);
1739 fcgi_request *request = NULL; local
1971 request = fcgi_init_request(fcgi_fd, NULL, NULL, NULL);
2263 if (request) {
2264 fcgi_destroy_request(request);
2290 while (!fastcgi || fcgi_accept_request(request) >= 0) {
2291 SG(server_context) = fastcgi ? (void *)request : (void *) 1;
2292 init_request_info(request);
2466 fcgi_finish_request(request, 1);
2621 fcgi_finish_request(request, 1);
2632 if (request) {
2633 fcgi_destroy_request(request);