Home
last modified time | relevance | path

Searched refs:request_uri (Results 1 – 18 of 18) sorted by relevance

/PHP-8.1/sapi/fpm/fpm/
H A Dfpm_request.c92 proc->request_uri[0] = '\0'; in fpm_request_reading_headers()
107 char *request_uri = fpm_php_request_uri(); in fpm_request_info() local
126 if (request_uri) { in fpm_request_info()
127 strlcpy(proc->request_uri, request_uri, sizeof(proc->request_uri)); in fpm_request_info()
262 …p->config->name, (int) child->pid, purified_script_filename, proc.request_method, proc.request_uri, in fpm_request_check_timed_out()
273 …p->config->name, (int) child->pid, purified_script_filename, proc.request_method, proc.request_uri, in fpm_request_check_timed_out()
H A Dfpm_status.c124 add_assoc_string(&fpm_proc_stat, "request-uri", procs[i].request_uri); in fpm_status_export_to_zval()
150 if (!SG(request_info).request_uri) { in fpm_status_handle_request()
155 …ng_uri && fpm_status_ping_response && !strcmp(fpm_status_ping_uri, SG(request_info).request_uri)) { in fpm_status_handle_request()
172 if (fpm_status_uri && !strcmp(fpm_status_uri, SG(request_info).request_uri)) { in fpm_status_handle_request()
599 proc->request_uri[0] != '\0' ? proc->request_uri : "-", in fpm_status_handle_request()
H A Dfpm_main.c556 char *script_name = SG(request_info).request_uri; in sapi_cgi_register_variables()
578 php_self = SG(request_info).request_uri ? SG(request_info).request_uri : ""; in sapi_cgi_register_variables()
971 SG(request_info).request_uri = NULL; in init_request_info()
1152 SG(request_info).request_uri = orig_script_name; in init_request_info()
1265 if (!SG(request_info).request_uri) { in init_request_info()
1271 SG(request_info).request_uri = FCGI_PUTENV(request, "SCRIPT_NAME", env_script_name); in init_request_info()
1273 SG(request_info).request_uri = orig_script_name; in init_request_info()
1305 SG(request_info).request_uri = FCGI_PUTENV(request, "SCRIPT_NAME", env_script_name); in init_request_info()
1307 SG(request_info).request_uri = env_script_name; in init_request_info()
1314 SG(request_info).request_uri = env_path_info; in init_request_info()
[all …]
H A Dfpm_scoreboard.h35 char request_uri[128]; member
H A Dfpm_php.c184 return (char *) SG(request_info).request_uri; in fpm_php_request_uri()
H A Dfpm_log.c367 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", proc.request_uri); in fpm_log_write()
/PHP-8.1/Zend/
H A Dzend_dtrace.d22 probe request__startup(char* request_file, char* request_uri, char* request_method);
23 probe request__shutdown(char* request_file, char* request_uri, char* request_method);
/PHP-8.1/sapi/cli/tests/
H A Dbug73630a.phpt2 Bug #73630 (Built-in Weberver - overwrite $_SERVER['request_uri'])
H A Dbug73630.phpt2 Bug #73630 (Built-in Weberver - overwrite $_SERVER['request_uri'])
H A Dphp_cli_server_009.phpt5 now could serve correctly with request_uri "index.php" and PATH_INFO "/foo/bar/"
/PHP-8.1/sapi/cgi/
H A Dcgi_main.c698 char *script_name = SG(request_info).request_uri; in sapi_cgi_register_variables()
745 php_self = SG(request_info).request_uri ? SG(request_info).request_uri : ""; in sapi_cgi_register_variables()
1179 SG(request_info).request_uri = NULL;
1303 SG(request_info).request_uri = orig_script_name;
1382 if (!SG(request_info).request_uri) {
1388 SG(request_info).request_uri = CGI_PUTENV("SCRIPT_NAME", env_script_name);
1390 SG(request_info).request_uri = orig_script_name;
1420 SG(request_info).request_uri = CGI_PUTENV("SCRIPT_NAME", env_script_name);
1422 SG(request_info).request_uri = env_script_name;
1429 SG(request_info).request_uri = env_path_info;
[all …]
/PHP-8.1/sapi/cli/
H A Dphp_cli_server.c122 char *request_uri; member
694 sapi_cli_server_register_variable(track_vars_array, "REQUEST_URI", client->request.request_uri); in sapi_cli_server_register_variables()
1347 req->request_uri = NULL; in php_cli_server_request_ctor()
1370 if (req->request_uri) { in php_cli_server_request_dtor()
1371 pefree(req->request_uri, 1); in php_cli_server_request_dtor()
1618 if (EXPECTED(client->request.request_uri == NULL)) { in php_cli_server_client_read_request_on_url()
1620 client->request.request_uri = pestrndup(at, length, 1); in php_cli_server_client_read_request_on_url()
1625 …client->request.request_uri = perealloc(client->request.request_uri, client->request.request_uri_l… in php_cli_server_client_read_request_on_url()
1626 memcpy(client->request.request_uri + client->request.request_uri_len, at, length); in php_cli_server_client_read_request_on_url()
1628 client->request.request_uri[client->request.request_uri_len] = '\0'; in php_cli_server_client_read_request_on_url()
[all …]
/PHP-8.1/main/
H A DSAPI.h79 char *request_uri; member
H A Dfopen_wrappers.c358 path_info = SG(request_info).request_uri;
H A Dmain.c1715 …NAME(SG(request_info).path_translated), SAFE_FILENAME(SG(request_info).request_uri), (char *)SAFE_… in php_request_startup()
1906 …NAME(SG(request_info).path_translated), SAFE_FILENAME(SG(request_info).request_uri), (char *)SAFE_… in php_request_shutdown()
/PHP-8.1/sapi/litespeed/
H A Dlsapi_main.c264 if ( (SG(request_info).request_uri ) ) in sapi_lsapi_register_variables()
265 php_self = (SG(request_info).request_uri ); in sapi_lsapi_register_variables()
635 SG(request_info).request_uri = LSAPI_GetScriptName(); in init_request_info()
/PHP-8.1/sapi/apache2handler/
H A Dsapi_apache2.c521 SG(request_info).request_uri = apr_pstrdup(r->pool, r->uri); in php_apache_request_ctor()
/PHP-8.1/ext/phar/
H A Dphar_object.c572 && SG(request_info).request_uri in PHP_METHOD()
657 path_info = SG(request_info).request_uri; in PHP_METHOD()

Completed in 1721 milliseconds