#
299c3ba8 |
| 06-Dec-2023 |
Ilija Tovilo |
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
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
show more ...
|
#
a1845944 |
| 06-Oct-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Merge branch 'PHP-8.1' into PHP-8.2 * PHP-8.1: php_cli_server: ensure single date header is present
|
#
f6ac08c6 |
| 05-Oct-2023 |
coppolafab |
php_cli_server: ensure single date header is present Currently the PHP Development Server appends a Date header in the response, despite already set from user code. Added a chec
php_cli_server: ensure single date header is present Currently the PHP Development Server appends a Date header in the response, despite already set from user code. Added a check condition before append the header, and a test file. Closes GH-12363.
show more ...
|
#
272dc9a0 |
| 21-Jul-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Merge branch 'PHP-8.1' into PHP-8.2 * PHP-8.1: Fix GH-11716: cli server crashes on SIGINT when compiled with ZEND_RC_DEBUG=1
|
#
af77d3b8 |
| 21-Jul-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix GH-11716: cli server crashes on SIGINT when compiled with ZEND_RC_DEBUG=1 Closes GH-11757. |
#
ce527ed5 |
| 20-Oct-2022 |
Ilija Tovilo |
Merge branch 'PHP-8.1' into PHP-8.2 * PHP-8.1: Fix cli server blocking on accept when using multiple workers
|
#
6be8efdf |
| 20-Oct-2022 |
Ilija Tovilo |
Merge branch 'PHP-8.0' into PHP-8.1 * PHP-8.0: Fix cli server blocking on accept when using multiple workers
|
#
d52f0451 |
| 08-Oct-2022 |
Ilija Tovilo |
Fix cli server blocking on accept when using multiple workers Fixes GH-9400 Closes GH-9693 |
#
58fc34ff |
| 06-Oct-2022 |
Benoit Viguier |
Fix memory-leak in CLI web server Closes GH-9680 Signed-off-by: George Peter Banyard <girgias@php.net> |
#
7065a222 |
| 20-Mar-2022 |
Vedran Miletić |
Respond with HTTP status 405 to DELETE/PUT/PATCH request on a static resource Co-authored-by: Marin Martuslović <marin.martuslovic@student.uniri.hr> |
#
4f509058 |
| 20-Mar-2022 |
Vedran Miletić |
Respond without body to HEAD request on a static resource Co-authored-by: Marin Martuslović <marin.martuslovic@student.uniri.hr> |
#
98bdb7f9 |
| 12-Aug-2022 |
Ilija Tovilo |
Make pestr[n]dup infallible (#9295) Fixes GH-9128 Closes GH-9295 |
#
c8f48013 |
| 22-Jul-2022 |
George Peter Banyard |
Convert client->request.request_uri to zend_string (#9086) |
#
37e214bd |
| 14-Jul-2022 |
David Carlier |
Merge branch 'PHP-8.1'
|
#
b44a17c0 |
| 14-Jul-2022 |
David Carlier |
Merge branch 'PHP-8.0' into PHP-8.1
|
#
789a37f1 |
| 13-Jul-2022 |
guoyiyuan |
Prevent potential buffer overflow for large value of php_cli_server_workers_max Fixes #8989. Closes #9000. |
#
1c753a95 |
| 01-Jul-2022 |
George Peter Banyard |
Pre-compute remote address length in CLI SAPI |
#
b37245b8 |
| 16-May-2022 |
George Peter Banyard |
Refactor registration of variables for the CLI SAPI |
#
3bf4098e |
| 30-May-2022 |
George Peter Banyard |
Refactor (again) CLI SAPI server_client struct to use zend_string* (#8605) This time in a way which works under a RC Debug build. |
#
82d407b7 |
| 21-May-2022 |
Nikita Popov |
Revert "Refactor CLI SAPI php_cli_server_client struct to use zend_string (#8522)" This reverts commit 9b19d9043256427b54c65ac5a3b886d03cf06f2d. This has broken the ZEND_RC_DEBUG bu
Revert "Refactor CLI SAPI php_cli_server_client struct to use zend_string (#8522)" This reverts commit 9b19d9043256427b54c65ac5a3b886d03cf06f2d. This has broken the ZEND_RC_DEBUG build.
show more ...
|
#
9b19d904 |
| 15-May-2022 |
George Peter Banyard |
Refactor CLI SAPI php_cli_server_client struct to use zend_string (#8522) This is a stepping stone in converting more pairs of ``char*`` and ``size_t`` to ``zend_string*`` across the CLI SAP
Refactor CLI SAPI php_cli_server_client struct to use zend_string (#8522) This is a stepping stone in converting more pairs of ``char*`` and ``size_t`` to ``zend_string*`` across the CLI SAPI. Also amend the CLI SAPI test setup to output it's content when it crashes/errors so that one can debug ASAN/UBSAN/MSAN violations. Drive-by MSAN fix. Co-authored-by: Arnaud Le Blanc <arnaud.lb@gmail.com>
show more ...
|
#
d4e24e72 |
| 10-May-2022 |
George Peter Banyard |
Fix Windows build sapi\cli\php_cli_server.c(2637): warning C4133: 'function': incompatible types - from 'zend_result (__cdecl *)(void *,php_socket_t,int)' to 'int (__cdecl *)(void *,php_sock
Fix Windows build sapi\cli\php_cli_server.c(2637): warning C4133: 'function': incompatible types - from 'zend_result (__cdecl *)(void *,php_socket_t,int)' to 'int (__cdecl *)(void *,php_socket_t,int)' Probably a good idea to make GCC complain about these sort of issues too
show more ...
|
#
0fad4d1d |
| 10-May-2022 |
George Peter Banyard |
Fix ASAN build |
#
9601475e |
| 09-May-2022 |
George Peter Banyard |
Minimal refactoring of CLI SAPI (#8519) More specific types, some cleanup and voidifying functions which always return ``SUCCESS`` |
#
b5db594f |
| 27-Apr-2022 |
George Peter Banyard |
Refacto php_module_startup() (#8303) It only ever uses at most 1 additional modules |