/php-src/sapi/fpm/tests/ |
H A D | log-suppress-output-request-body.phpt | 51 $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 D | fpm_get_status_basic.phpt | 33 $tester->request()->printBody(); 87 ["request-duration"]=> 89 ["request-method"]=> 91 ["request-uri"]=> 95 ["request-length"]=> 101 ["last-request-cpu"]=> 103 ["last-request-memory"]=>
|
H A D | log-suppress-output.phpt | 17 $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])->expectStatus('500 Internal Server Error')->expectBody… 44 $tester->request()->expectBody('OK'); 47 $tester->request(query: 'test=output', uri: '/ping')->expectBody('pong', 'text/plain');
|
H A D | fcgi.inc | 422 * Outstanding request statuses keyed by request id 424 * Each request is an array with following form: 706 $request = ''; 708 $request .= $this->buildNvpair($info, ''); 730 public function request(array $params, $stdin) 737 * Execute a request to the FastCGI application and return request data 757 * This sends request to application and returns the assigned ID for that request. 763 * ID during this request. 782 $request = $this->buildPacket( 801 $request .= $this->buildPacket(self::STDIN, '', $id); [all …]
|
H A D | bug77780-header-sent-error.phpt | 30 ->request( 37 $tester->request(
|
H A D | bug73342-nonblocking-stdio.phpt | 32 $tester->request()->expectBody("Before\nAfter"); 33 $tester->request()->expectBody("Before\nAfter");
|
/php-src/sapi/fpm/fpm/ |
H A D | fpm_main.c | 289 if (!parent && request) { in sapi_cgibin_flush() 291 if (!fcgi_flush(request, 0)) { in sapi_cgibin_flush() 533 fcgi_request *request = NULL; in cgi_php_import_environment_variables() local 1488 if (!fcgi_is_closed(request)) { in PHP_FUNCTION() 1492 fcgi_end(request); in PHP_FUNCTION() 1493 fcgi_close(request, 0, 0); in PHP_FUNCTION() 1504 fcgi_request *request; in PHP_FUNCTION() local 1558 fcgi_request *request; in main() local 1824 fcgi_finish_request(request, 1); in main() 1927 fcgi_finish_request(request, 0); in main() [all …]
|
/php-src/sapi/cli/ |
H A D | php_cli_server.c | 756 "PHP_SELF", strlen("PHP_SELF"), client->request.vpath, client->request.vpath_len); in sapi_cli_server_register_variables() 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() 2155 …if (client->request.path_translated && strlen(client->request.path_translated) != client->request.… in php_cli_server_begin_send_static() 2167 ('.' == client->request.path_translated[client->request.path_translated_len-1] || in php_cli_server_begin_send_static() [all …]
|
/php-src/sapi/cli/tests/ |
H A D | bug69655.phpt | 2 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 D | php_cli_server_012.phpt | 12 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 D | bug70264.phpt | 17 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 D | bug73630a.phpt | 4 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 D | bug61679.phpt | 18 // Send a request with a fictitious request method,
|
/php-src/ext/soap/tests/bugs/ |
H A D | bug29844.phpt | 2 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 D | bug79357.phpt | 2 Bug #79357: SOAP request segfaults when any request parameter is missing
|
H A D | bug77410.phpt | 12 public function __doRequest($request, $location, $action, $version, $one_way = 0): string { 13 echo $request, "\n";
|
H A D | bug28969.phpt | 21 function __doRequest($request, $location, $action, $version, $one_way = 0): string { 23 $this->server->handle($request);
|
H A D | bug43045.phpt | 19 function __doRequest($request, $location, $action, $version, $one_way = 0): string { 21 $this->server->handle($request); 26 echo $request;
|
/php-src/.github/ISSUE_TEMPLATE/ |
H A D | feature_request.yml | 1 name: Feature request 2 description: Create a feature request
|
/php-src/ext/standard/tests/http/ |
H A D | bug60570.phpt | 2 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-src/main/ |
H A D | fastcgi.h | 36 #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-src/sapi/cgi/ |
H A D | cgi_main.c | 361 if (!parent && request) { in sapi_fcgi_flush() 363 if (!fcgi_flush(request, 0)) { in sapi_fcgi_flush() 760 fcgi_request *request; in sapi_cgi_log_message() local 763 if (request) { in sapi_cgi_log_message() 1087 FCGI_GETENV(request, name) : \ 1739 fcgi_request *request = NULL; local 2263 if (request) { 2264 fcgi_destroy_request(request); 2292 init_request_info(request); 2632 if (request) { [all …]
|
/php-src/ext/sockets/tests/ |
H A D | socket_bind.phpt | 26 $request = 'GET / HTTP/1.1' . "\r\n"; 27 $s_write = socket_write($s_c, $request);
|
/php-src/sapi/fpm/ |
H A D | www.conf.in | 219 ; 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 …]
|
/php-src/ext/soap/tests/ |
H A D | transport001.phpt | 20 function __doRequest($request, $location, $action, $version, $one_way = 0): string { 22 $this->server->handle($request);
|