#
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 ...
|
#
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 ...
|
#
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.
|
#
d5ad7510 |
| 08-Jun-2023 |
George Peter Banyard |
More usage of known zend_str instead of C string (#11381)
|
#
c02348cf |
| 05-May-2023 |
Cédric Anne |
Make SERVER_SOFTWARE compliant with RFC3875 (#11093)
|
#
382148d7 |
| 26-Feb-2023 |
George Peter Banyard |
Fix UBSAN warning about applying zero offset to null pointer (#10700) vpath may be NULL here so check for it before trying to add 0 (the length of the vpath) to it.
|
#
d46dea16 |
| 18-Feb-2023 |
Max Kellermann |
Make globals const (part 2) (#10610) * Zend/zend_enum: make `forbidden_methods` static+const * main/php_syslog: make `xdigits` static * sapi/fpm: make several globals `cons
Make globals const (part 2) (#10610) * Zend/zend_enum: make `forbidden_methods` static+const * main/php_syslog: make `xdigits` static * sapi/fpm: make several globals `const` * sapi/phpdbg: make `OPTIONS` static * sapi/phpdbg/help: make help texts const * sapi/cli: make `template_map` const * ext/ffi: make `zend_ffi_types` static * ext/bcmath: make `ref_str` const * ext/phar: make several globals static+const
show more ...
|
#
c8955c07 |
| 16-Jan-2023 |
Christoph M. Becker |
Revert GH-10220 Cf. <https://github.com/php/php-src/pull/10220#issuecomment-1383739816>. This reverts commit ecc880f491d66081298a16634629f149459706a9. This reverts commit 588a07
Revert GH-10220 Cf. <https://github.com/php/php-src/pull/10220#issuecomment-1383739816>. This reverts commit ecc880f491d66081298a16634629f149459706a9. This reverts commit 588a07f7371ee2b5fac17de147926780e427fae6. This reverts commit f377e15751d3aa48b69cd9bcc366ede7803d511f. This reverts commit b4ba16fe189b109144aff669e11d81365160104b. This reverts commit 694ec1deea36e366b28b6349a52be49824e1a1a8. This reverts commit 6b34de8eba9f66882ae16e6073af28783670ac53. This reverts commit aa1cd02a4367834026ea2205ea13a2f904455aa1. This reverts commit 308fd311ea6fcf3094b448df7f2b264f08e4fe4f. This reverts commit 16203b53e1822a37b6ba6f2ab198bb435d05fdad. This reverts commit 738fb5ca5412f5e833a7fab82b11519e635a3357. This reverts commit 9fdbefacd3c382d731aa175b7bdc002ec9cb2b30. This reverts commit cd4a7c1d90562ebb5f89caf94d00d579631b9fbe. This reverts commit 928685eba2b2f0ded90e7f78fd806ea164002f6e. This reverts commit 01e5ffc85cd4357fd7b5b7ceefa29f2d10ca26b7.
show more ...
|
#
6b34de8e |
| 04-Jan-2023 |
Max Kellermann |
sapi/*: add missing includes
|
#
84988d20 |
| 17-Dec-2022 |
David Carlier |
cli server addressing few todos. Closes GH-10124.
|
#
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>
|
#
ecc3fc18 |
| 02-Sep-2022 |
Ilija Tovilo |
Use PDEATHSIG to kill cli-server workers if parent exists Closes GH-9476
|
Revision tags: php-8.2.0RC1, php-8.1.10, php-8.0.23, php-8.0.23RC1, php-8.1.10RC1, php-8.2.0beta3, php-8.2.0beta2, php-8.1.9, php-8.0.22, php-8.1.9RC1, php-8.2.0beta1, php-8.0.22RC1, php-8.0.21, php-8.1.8, php-8.2.0alpha3, php-8.1.8RC1, php-8.2.0alpha2, php-8.0.21RC1, php-8.0.20, php-8.1.7, php-8.2.0alpha1, php-7.4.30, php-8.1.7RC1, php-8.0.20RC1, php-8.1.6, php-8.0.19, php-8.1.6RC1, php-8.0.19RC1, php-8.0.18, php-8.1.5, php-7.4.29, php-8.1.5RC1, php-8.0.18RC1 |
|
#
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)
|
#
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
|