php-src/sapi/cli
Ilija Tovilo 299c3ba89e
Fix max_execution_time with cli-server router script
When the cli-server specifies a router script, we run it using
zend_execute_scripts instead of php_execute_script, because the former preserves
the return value of the script. However, php_execute_script also starts resets
the execution timer with the value from max_execution_time. If the timer has
previously been initialized with max_input_time, it will never be reset, and
thus trigger at the incorrect time.

Closes GH-12886
2023-12-07 16:11:48 +01:00
..
tests Merge branch 'PHP-8.1' into PHP-8.2 2023-10-06 17:50:13 +02:00
cli_win32.c
cli.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
config.m4 Revert "Link executable files using non PIC object files. This reduces PIC overhead and improves performance." 2019-10-10 16:28:59 +03:00
config.w32 Control VCRT leak reporting via environment variable in debug builds 2020-06-10 09:05:17 +02:00
CREDITS
generate_mime_type_map.php Update mime-db from 1.45.0 to 1.52.0 2022-07-08 07:39:38 +01:00
Makefile.frag Sync leading and final newlines in source code files 2018-10-14 12:56:38 +02:00
mime_type_map.h Update mime-db from 1.45.0 to 1.52.0 2022-07-08 07:39:38 +01:00
php_cli_process_title_arginfo.h Add stubs for SAPIs 2020-07-10 14:20:18 +02:00
php_cli_process_title.c Use size_t for get_ps_title() length parameter 2022-06-30 13:23:13 +01:00
php_cli_process_title.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
php_cli_process_title.stub.php Add stubs for SAPIs 2020-07-10 14:20:18 +02:00
php_cli_server_arginfo.h Add stubs for SAPIs 2020-07-10 14:20:18 +02:00
php_cli_server.c Fix max_execution_time with cli-server router script 2023-12-07 16:11:48 +01:00
php_cli_server.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
php_cli_server.stub.php Add stubs for SAPIs 2020-07-10 14:20:18 +02:00
php_cli.c Merge branch 'PHP-8.1' into PHP-8.2 2023-06-23 17:42:45 +02:00
php_http_parser.c Merge branch 'PHP-7.4' into PHP-8.0 2021-07-29 13:28:52 +02:00
php_http_parser.h Replace php_stdint.h header with standard headers (#8613) 2022-05-29 11:20:56 +01:00
php.1.in Merge branch 'PHP-8.1' into PHP-8.2 2023-08-03 20:32:30 +02:00
ps_title.c Merge branch 'PHP-8.1' into PHP-8.2 2023-05-31 17:10:17 +02:00
ps_title.h Use size_t for get_ps_title() length parameter 2022-06-30 13:23:13 +01:00