#
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
|
#
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
|
Revision tags: php-8.1.4, php-8.0.17, php-8.1.4RC1, php-8.0.17RC1, php-8.1.3, php-8.0.16, php-7.4.28, php-8.1.3RC1, php-8.0.16RC1, php-8.1.2, php-8.0.15, php-8.1.2RC1, php-8.0.15RC1, php-8.0.14, php-8.1.1, php-7.4.27, php-8.1.1RC1, php-8.0.14RC1, php-7.4.27RC1 |
|
#
ef2fd0e5 |
| 24-Nov-2021 |
Remi Collet |
fix [-Wstrict-prototypes] buid warnings
|
Revision tags: php-8.1.0, php-8.0.13, php-7.4.26, php-7.3.33, php-8.1.0RC6 |
|
#
90b7bde6 |
| 03-Nov-2021 |
Dmitry Stogov |
Use more compact representation for packed arrays. - for packed arrays we store just an array of zvals without keys. - the elements of packed array are accessible throuf as ht->arPacked[
Use more compact representation for packed arrays. - for packed arrays we store just an array of zvals without keys. - the elements of packed array are accessible throuf as ht->arPacked[i] instead of ht->arData[i] - in addition to general ZEND_HASH_FOREACH_* macros, we introduced similar familied for packed (ZEND_HASH_PACKED_FORECH_*) and real hashes (ZEND_HASH_MAP_FOREACH_*) - introduced an additional family of macros to access elements of array (packed or real hashes) ZEND_ARRAY_ELEMET_SIZE, ZEND_ARRAY_ELEMET_EX, ZEND_ARRAY_ELEMET, ZEND_ARRAY_NEXT_ELEMENT, ZEND_ARRAY_PREV_ELEMENT - zend_hash_minmax() prototype was changed to compare only values Because of smaller data set, this patch may show performance improvement on some apps and benchmarks that use packed arrays. (~1% on PHP-Parser) TODO: - sapi/phpdbg needs special support for packed arrays (WATCH_ON_BUCKET). - zend_hash_sort_ex() may require converting packed arrays to hash.
show more ...
|
Revision tags: php-7.4.26RC1, php-8.0.13RC1, php-8.1.0RC5, php-7.3.32, php-7.4.25, php-8.0.12, php-8.1.0RC4, php-8.0.12RC1, php-7.4.25RC1 |
|
#
cdcdb330 |
| 03-Oct-2021 |
Lauri Kenttä |
Fix #81496: CLI server logs wrong request method
|
Revision tags: php-8.1.0RC3, php-8.0.11, php-7.4.24, php-7.3.31 |
|
#
28e882a1 |
| 17-Sep-2021 |
Nikita Popov |
Fix null pointer ubsan warning Don't pass null pointer to memmove, even with zero length.
|
Revision tags: php-8.1.0RC2, php-7.4.24RC1, php-8.0.11RC1, php-8.1.0RC1, php-7.4.23, php-8.0.10, php-7.3.30, php-8.1.0beta3, php-8.0.10RC1, php-7.4.23RC1, php-8.1.0beta2 |
|
#
be2df43b |
| 30-Jul-2021 |
Christoph M. Becker |
Fix #78919: CLI server: insufficient cleanup if request startup fails We need to run the full `php_cli_server_request_shutdown()` in case of failing `php_cli_server_request_startup()`.
Fix #78919: CLI server: insufficient cleanup if request startup fails We need to run the full `php_cli_server_request_shutdown()` in case of failing `php_cli_server_request_startup()`. Patch contributed by @cataphract. Closes GH-7322.
show more ...
|
Revision tags: php-8.0.9, php-7.4.22, php-8.1.0beta1, php-7.4.22RC1, php-8.0.9RC1 |
|
#
efbb2198 |
| 12-Jul-2021 |
Nikita Popov |
Return value from ZEND_ATOL Instead of assigning it as part of the macro itself, which makes usage quite awkward.
|
Revision tags: php-8.1.0alpha3 |
|
#
d7db5701 |
| 30-Jun-2021 |
Christoph M. Becker |
Fix #73630: Built-in Weberver - overwrite $_SERVER['request_uri'] The built-in Webserver's `on_path`, `on_query_string` and `on_url` callbacks may be called multiple times from the parse
Fix #73630: Built-in Weberver - overwrite $_SERVER['request_uri'] The built-in Webserver's `on_path`, `on_query_string` and `on_url` callbacks may be called multiple times from the parser; we must not simply replace the old values, but need to concatenate the new values instead. This appears to be tricky for `on_path` due to the path normalization, so we fail if the function is called again. The built-in Webserver logs errors during request parsing to stderr, but this is ignored by the php_cli_server framework, and apparently the Webserver does not send a resonse at all in such cases (instead of an 4xx). Thus we can only check that a request with an overly long path fails. Closes GH-7207.
show more ...
|
Revision tags: php-7.4.21, php-7.3.29, php-8.0.8, php-8.1.0alpha2, php-7.4.21RC1, php-8.0.8RC1, php-8.1.0alpha1, php-8.0.7, php-7.4.20, php-8.0.7RC1, php-7.4.20RC1 |
|
#
c40231af |
| 12-May-2021 |
George Peter Banyard |
Mark various functions with void arguments. This fixes a bunch of [-Wstrict-prototypes] warning, because in C func() and func(void) have different semantics.
|
#
01b3fc03 |
| 06-May-2021 |
KsaR |
Update http->https in license (#6945) 1. Update: http://www.php.net/license/3_01.txt to https, as there is anyway server header "Location:" to https. 2. Update few license 3.0 to 3.01 as
Update http->https in license (#6945) 1. Update: http://www.php.net/license/3_01.txt to https, as there is anyway server header "Location:" to https. 2. Update few license 3.0 to 3.01 as 3.0 states "php 5.1.1, 4.1.1, and earlier". 3. In some license comments is "at through the world-wide-web" while most is without "at", so deleted. 4. fixed indentation in some files before |
show more ...
|