Home
last modified time | relevance | path

Searched refs:request (Results 1 – 25 of 263) sorted by relevance

1234567891011

/PHP-8.2/sapi/fpm/tests/
H A Dlog-suppress-output-request-body.phpt51 $tester->request(
52 uri: '/request-1',
58 $tester->request(
59 uri: '/request-2',
65 $tester->request(
66 uri: '/request-3',
73 $tester->request(
74 uri: '/request-4'
79 $tester->request(
80 uri: '/request-5',
[all …]
H A Dfpm_get_status_basic.phpt33 $tester->request()->printBody();
85 ["request-duration"]=>
87 ["request-method"]=>
89 ["request-uri"]=>
93 ["request-length"]=>
99 ["last-request-cpu"]=>
101 ["last-request-memory"]=>
H A Dlog-suppress-output.phpt17 $tester->request()->expectBody('OK');
23 $tester->request()->expectBody('OK');
29 $tester->request(query: 'test=output')->expectBody('output');
35 $tester->request()->expectBody('OK');
38 $tester->request(query: 'test=output', uri: '/ping')->expectBody('pong', 'text/plain');
41 $tester->request(headers: ['X_ERROR' => 1])->expectBody('Not OK');
44 $tester->request()->expectBody('OK');
47 $tester->request(query: 'test=output', uri: '/ping')->expectBody('pong', 'text/plain');
H A Dfcgi.inc99 * Outstanding request statuses keyed by request id
101 * Each request is an array with following form:
154 * alive at the end of a request
178 * request for efficiency
450 $request = '';
452 $request .= $this->buildNvpair($info, '');
474 public function request(array $params, $stdin)
481 * Execute a request to the FastCGI application and return request data
500 * This sends request to application and returns the assigned ID for that request.
506 * ID during this request.
[all …]
H A Dbug77780-header-sent-error.phpt30 ->request(
37 $tester->request(
H A Dbug73342-nonblocking-stdio.phpt32 $tester->request()->expectBody("Before\nAfter");
33 $tester->request()->expectBody("Before\nAfter");
/PHP-8.2/sapi/fpm/fpm/
H A Dfpm_main.c294 if (!parent && request && !fcgi_flush(request, 0)) { in sapi_cgibin_flush()
535 fcgi_request *request = NULL; in cgi_php_import_environment_variables() local
1494 if (!fcgi_is_closed(request)) { in PHP_FUNCTION()
1498 fcgi_end(request); in PHP_FUNCTION()
1499 fcgi_close(request, 0, 0); in PHP_FUNCTION()
1510 fcgi_request *request; in PHP_FUNCTION() local
1564 fcgi_request *request; in main() local
1859 request = fpm_init_request(fcgi_fd); in main()
1874 fcgi_finish_request(request, 1); in main()
1977 fcgi_finish_request(request, 0); in main()
[all …]
/PHP-8.2/sapi/cli/
H A Dphp_cli_server.c747 "PHP_SELF", strlen("PHP_SELF"), client->request.vpath, client->request.vpath_len); in sapi_cli_server_register_variables()
1448 q = request->vpath + request->vpath_len; in php_cli_server_request_translate_vpath()
1455 memmove(p, request->vpath, request->vpath_len); in php_cli_server_request_translate_vpath()
1464 p += request->vpath_len; in php_cli_server_request_translate_vpath()
1535 request->sb = sb; in php_cli_server_request_translate_vpath()
1650 …client->request.query_string = perealloc(client->request.query_string, client->request.query_strin… in php_cli_server_client_read_request_on_query_string()
1653 client->request.query_string[client->request.query_string_len] = '\0'; in php_cli_server_client_read_request_on_query_string()
1805 …client->request.content = perealloc(client->request.content, client->request.content_len + length,… in php_cli_server_client_read_request_on_body()
1806 memmove(client->request.content + client->request.content_len, at, length); in php_cli_server_client_read_request_on_body()
2152 …if (client->request.path_translated && strlen(client->request.path_translated) != client->request.… in php_cli_server_begin_send_static()
[all …]
/PHP-8.2/sapi/cli/tests/
H A Dbug69655.phpt2 Bug #69655 (php -S changes MKCALENDAR request method to MKCOL)
20 Warning: file_get_contents(http://localhost:%d): Failed to open stream: HTTP request failed! HTTP/1…
23 Warning: file_get_contents(http://localhost:%d): Failed to open stream: HTTP request failed! HTTP/1…
26 Warning: file_get_contents(http://localhost:%d): Failed to open stream: HTTP request failed! HTTP/1…
H A Dphp_cli_server_012.phpt12 file_put_contents($doc_root . '/request.php', '<?php print_r($_REQUEST); ?>');
18 POST /request.php HTTP/1.1
32 @unlink($doc_root . '/request.php');
H A Dbug70264.phpt17 Warning: file_get_contents(http://%s/..\CREDITS): Failed to open stream: HTTP request failed! HTTP/…
20 Warning: file_get_contents(http://%s/..%5CCREDITS): Failed to open stream: HTTP request failed! HTT…
H A Dbug73630a.phpt4 Check that too long paths result in invalid request
24 Warning: file_get_contents(http://%s//example.com): Failed to open stream: HTTP request failed! in …
H A Dbug61679.phpt18 // Send a request with a fictitious request method,
/PHP-8.2/ext/soap/tests/bugs/
H A Dbug29844.phpt2 Bug #29844 (SOAP doesn't return the result of a valid SOAP request)
25 function __doRequest($request, $location, $action, $version, $one_way = 0): ?string {
27 $this->server->handle($request);
H A Dbug28969.phpt21 function __doRequest($request, $location, $action, $version, $one_way = 0): ?string {
23 $this->server->handle($request);
H A Dbug43045.phpt19 function __doRequest($request, $location, $action, $version, $one_way = 0): ?string {
21 $this->server->handle($request);
26 echo $request;
/PHP-8.2/.github/ISSUE_TEMPLATE/
H A Dfeature_request.yml1 name: Feature request
2 description: Create a feature request
/PHP-8.2/ext/standard/tests/http/
H A Dbug60570.phpt2 Bug #60570 (Stream context leaks when http request fails)
42 Warning: file_get_contents(http://%s:%d): Failed to open stream: HTTP request failed! HTTP/1.0 404 …
45 Warning: file_get_contents(http://%s:%d): Failed to open stream: HTTP request failed! HTTP/1.0 404 …
48 Warning: file_get_contents(http://%s:%d): Failed to open stream: HTTP request failed! HTTP/1.0 404 …
/PHP-8.2/main/
H A Dfastcgi.h36 #define FCGI_GETENV(request, name) \ argument
37 fcgi_quick_getenv(request, name, sizeof(name)-1, FCGI_HASH_FUNC(name, sizeof(name)-1))
39 #define FCGI_PUTENV(request, name, value) \ argument
40 fcgi_quick_putenv(request, name, sizeof(name)-1, FCGI_HASH_FUNC(name, sizeof(name)-1), value)
/PHP-8.2/ext/soap/tests/
H A Dbug79357.phpt2 Bug #79357: SOAP request segfaults when any request parameter is missing
H A Dbug77410.phpt12 public function __doRequest($request, $location, $action, $version, $one_way = 0): ?string {
13 echo $request, "\n";
H A Dtransport001.phpt20 function __doRequest($request, $location, $action, $version, $one_way = 0): ?string {
22 $this->server->handle($request);
/PHP-8.2/sapi/cgi/
H A Dcgi_main.c360 request && !fcgi_flush(request, 0)) { in sapi_fcgi_flush()
757 fcgi_request *request; in sapi_cgi_log_message() local
760 if (request) { in sapi_cgi_log_message()
1084 FCGI_GETENV(request, name) : \
1160 int has_env = fcgi_has_env(request);
1736 fcgi_request *request = NULL; local
2247 if (request) {
2248 fcgi_destroy_request(request);
2276 init_request_info(request);
2601 if (request) {
[all …]
/PHP-8.2/ext/sockets/tests/
H A Dsocket_bind.phpt26 $request = 'GET / HTTP/1.1' . "\r\n";
27 $s_write = socket_write($s_c, $request);
/PHP-8.2/sapi/fpm/
H A Dwww.conf.in219 ; request method - the request method (GET, POST, ...);
220 ; request URI - the request URI with the query string;
224 ; last request cpu - the %cpu the last request consumed
228 ; last request memory - the max amount of memory the last request consumed
242 ; request duration: 1250261
243 ; request method: GET
248 ; last request cpu: 0.00
249 ; last request memory: 0
300 ; %C: %CPU used by the request
318 ; %l: content-length of the request (for POST request only)
[all …]

Completed in 40 milliseconds

1234567891011