Home
last modified time | relevance | path

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

1234567891011

/php-src/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();
87 ["request-duration"]=>
89 ["request-method"]=>
91 ["request-uri"]=>
95 ["request-length"]=>
101 ["last-request-cpu"]=>
103 ["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])->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 Dfcgi.inc422 * 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 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-src/sapi/fpm/fpm/
H A Dfpm_main.c289 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 Dphp_cli_server.c756 "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 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-src/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 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 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-src/.github/ISSUE_TEMPLATE/
H A Dfeature_request.yml1 name: Feature request
2 description: Create a feature request
/php-src/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-src/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-src/sapi/cgi/
H A Dcgi_main.c361 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 Dsocket_bind.phpt26 $request = 'GET / HTTP/1.1' . "\r\n";
27 $s_write = socket_write($s_c, $request);
/php-src/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 …]
/php-src/ext/soap/tests/
H A Dtransport001.phpt20 function __doRequest($request, $location, $action, $version, $one_way = 0): string {
22 $this->server->handle($request);

Completed in 43 milliseconds

1234567891011