summaryrefslogtreecommitdiff
path: root/sapi
Commit message (Collapse)AuthorAgeFilesLines
* Added environment LSAPI_CLEAN_SHUTDOWN to control clean shutdown. Update ↵George Wang2019-11-211-14/+26
| | | | SAPI version to LiteSpeed v7.6 .
* Merge branch 'PHP-7.1' into PHP-7.2Stanislav Malyshev2019-10-213-4/+72
|\ | | | | | | | | | | | | * PHP-7.1: Fix bug #78599 (env_path_info underflow can lead to RCE) (CVE-2019-11043) bump versions after release set versions for release
| * Fix bug #78599 (env_path_info underflow can lead to RCE) (CVE-2019-11043)Jakub Zelenka2019-10-203-4/+72
| |
| * Sync leading and final newlines in *.phpt sectionsPeter Kokot2018-10-1526-27/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds missing newlines, trims multiple redundant final newlines into a single one, and trims redundant leading newlines in all *.phpt sections. According to POSIX, a line is a sequence of zero or more non-' <newline>' characters plus a terminating '<newline>' character. [1] Files should normally have at least one final newline character. C89 [2] and later standards [3] mention a final newline: "A source file that is not empty shall end in a new-line character, which shall not be immediately preceded by a backslash character." Although it is not mandatory for all files to have a final newline fixed, a more consistent and homogeneous approach brings less of commit differences issues and a better development experience in certain text editors and IDEs. [1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206 [2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2 [3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
| * Trim trailing whitespace in *.phptPeter Kokot2018-10-1463-122/+122
| |
| * Sync leading and final newlines in source code filesPeter Kokot2018-10-1479-121/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds missing newlines, trims multiple redundant final newlines into a single one, and trims redundant leading newlines. According to POSIX, a line is a sequence of zero or more non-' <newline>' characters plus a terminating '<newline>' character. [1] Files should normally have at least one final newline character. C89 [2] and later standards [3] mention a final newline: "A source file that is not empty shall end in a new-line character, which shall not be immediately preceded by a backslash character." Although it is not mandatory for all files to have a final newline fixed, a more consistent and homogeneous approach brings less of commit differences issues and a better development experience in certain text editors and IDEs. [1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206 [2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2 [3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
| * Trim trailing whitespace in source code filesPeter Kokot2018-10-1333-330/+330
| |
* | Add tilde to allowed status/ping pathDrakano2019-09-171-4/+4
| | | | | | | | | | | | | | Because of user specific webdirs it should be possible to set a status/ping path like "/~username/status". Closes GH-4698.
* | Checked in LiteSpeed SAPI 7.5, addressed two main problems in "clean ↵George Wang2019-07-201-62/+62
| | | | | | | | | | | | | | shutdown" introduced in 7.4.3, 1. falls in an infinite loop because PHP engine's inconsistent state, now override the ITIMER_PROF to 0.1 second, clean shutdown must finish before that. 2. generate too much error log, we completely disable "error_reporting" before calling php_request_shutdown().
* | Fixed bug #78297Nikita Popov2019-07-162-0/+17
| |
* | Updated to LiteSpeed SAPI V7.4.3George Wang2019-07-042-4/+268
| | | | | | | | | | | | | | Increased response header count limit from 100 to 1000. Added crash handler to cleanly shutdown PHP request. Added CloudLinux mod_lsapi mode Fixed bug #76058
* | Fixed bug #78050Nikita Popov2019-06-041-17/+17
| | | | | | | | This is a backport of a9821255612a99f9773c3601ff1914de4e7a7e32.
* | Reload tsrmls_id in release builds as wellNikita Popov2019-06-041-1/+0
| | | | | | | | | | | | If TSRM is shut down and started again (something that phpdbg does), then tsrmls_id needs to be reloaded everywhere. As tsrmls_id update is a rare operation, doing that shouldn't be a problem.
* | Add ping to the fpm test for bug #77934Jakub Zelenka2019-05-131-0/+4
| |
* | Fix bug #77934 (php-fpm kill -USR2 not working)Jakub Zelenka2019-05-112-1/+45
| |
* | Updated LiteSpeed SAPI to 7.3.2 to allow request header value length up to 64K.George Wang2019-05-093-5/+2
| |
* | Improved LSAPI_End_Response_r() .George Wang2019-04-211-10/+17
| |
* | Fixed bug in litespeed_finish_request(), disable fastcgi_finish_request() ↵George Wang2019-04-211-2/+5
| | | | | | | | alias for now.
* | Fix #77921: static.php.net doesn't work anymorePeter Kokot2019-04-201-1/+1
| | | | | | | | | | | | | | | | This embeds the PHP logo image in the FPM status HTML page instead of using remote location. The phpinfo() output also uses such approach and browser compatibility looks decent [1]. 1: https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs
* | LiteSpeed SAPI 7.3, better process management, new API function ↵George Wang2019-04-123-26/+152
| | | | | | | | litespeed_finish_request().
* | Ref #76801 remove old file source from file_sources hash in case of file ↵Alessandro Chitolina2019-04-031-0/+1
| | | | | | | | included more than once
* | fix build: readline support must be disabled by default in phpdbgJoe Watkins2019-03-281-1/+1
| |
* | Fix #77805 phpdbg build fails when readline is sharedJoe Watkins2019-03-274-20/+37
| |
* | more work on phpdbg conditional breaksJoe Watkins2019-03-271-0/+33
| |
* | Fix #77800 phpdbg segfaults on conditional breakpointsJoe Watkins2019-03-261-1/+16
| |
* | Fix #77794: Incorrect Date header format in built-in serverNiklas Keller2019-03-251-6/+5
| | | | | | | | | | | | | | | | - Fix the date format to be compliant with https://tools.ietf.org/html/rfc7231#section-7.1.1.2 - Fix date format length and use GMT time - Previously, local time was used instead of GMT. - Remove extra whitespace - Simplify string appends in php_cli_server.c
* | fix bug #76801: phpdbg too many open files errorAlessandro Chitolina2019-03-235-33/+49
| |
* | Fix #77767: phpdbg break command help message shows incorrect aliasesMiriam Lauter2019-03-191-2/+2
| | | | | | | | | | | | Previously the aliases for at and del were listed as A and d in the help message for break. This patch corrects the aliases to be @ and ~ respectively.
* | Fix bug #77677: WCOREDUMP not available on all systemsKevin Adler2019-03-012-2/+11
| | | | | | | | | | | | Add #ifdef WCOREDUMP around all uses. Also Change core dump message to yes/no/unknown in lsapilib.
* | Checkin LiteSpeed SAPI 7.2.George Wang2019-01-204-47/+84
| |
* | Fixed bug #77111 php-win.exe corrupts unicode symbols from cli parametersAnatol Belski2018-11-163-5/+47
| | | | | | | | | | | | The binary can be of course used on console, for whatever reasons, so UNICODE API should be used in that case. That might however not work as expected, if the binary is used for a service.
* | Sync leading and final newlines in *.phpt sectionsPeter Kokot2018-10-1525-26/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds missing newlines, trims multiple redundant final newlines into a single one, and trims redundant leading newlines in all *.phpt sections. According to POSIX, a line is a sequence of zero or more non-' <newline>' characters plus a terminating '<newline>' character. [1] Files should normally have at least one final newline character. C89 [2] and later standards [3] mention a final newline: "A source file that is not empty shall end in a new-line character, which shall not be immediately preceded by a backslash character." Although it is not mandatory for all files to have a final newline fixed, a more consistent and homogeneous approach brings less of commit differences issues and a better development experience in certain text editors and IDEs. [1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206 [2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2 [3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
* | Trim trailing whitespace in *.phptPeter Kokot2018-10-1463-122/+122
| |
* | Sync leading and final newlines in source code filesPeter Kokot2018-10-1479-121/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds missing newlines, trims multiple redundant final newlines into a single one, and trims redundant leading newlines. According to POSIX, a line is a sequence of zero or more non-' <newline>' characters plus a terminating '<newline>' character. [1] Files should normally have at least one final newline character. C89 [2] and later standards [3] mention a final newline: "A source file that is not empty shall end in a new-line character, which shall not be immediately preceded by a backslash character." Although it is not mandatory for all files to have a final newline fixed, a more consistent and homogeneous approach brings less of commit differences issues and a better development experience in certain text editors and IDEs. [1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206 [2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2 [3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
* | Trim trailing whitespace in source code filesPeter Kokot2018-10-1333-330/+330
| |
* | Merge branch 'PHP-7.1' into PHP-7.2Christoph M. Becker2018-10-082-2/+50
|\ \ | |/ | | | | | | * PHP-7.1: Fix #76954: apache_response_headers removes last character from header name
| * Fix #76954: apache_response_headers removes last character from header namestodorovic2018-10-082-2/+50
| |
* | Merge branch 'PHP-7.1' into PHP-7.2Anatol Belski2018-10-031-2/+2
|\ \ | |/ | | | | | | * PHP-7.1: Avoid code duplication and don't miss env restore
| * Avoid code duplication and don't miss env restoreAnatol Belski2018-10-031-2/+2
| |
* | Merge branch 'PHP-7.1' into PHP-7.2Anatol Belski2018-10-031-1/+16
|\ \ | |/ | | | | | | * PHP-7.1: Fixed bug #76948 Failed shutdown/reboot or end session in Windows
| * Fixed bug #76948 Failed shutdown/reboot or end session in WindowsAnatol Belski2018-10-031-1/+16
| |
* | Merge branch 'PHP-7.1' into PHP-7.2Nikita Popov2018-09-301-1/+8
|\ \ | |/
| * Fixed bug #75479Nikita Popov2018-09-301-1/+8
| | | | | | | | Wrap the zend_signal_init() call, so the hook arguments line up.
* | Merge branch 'PHP-7.1' into PHP-7.2Stanislav Malyshev2018-09-091-0/+1
|\ \ | |/ | | | | | | | | * PHP-7.1: Update NEWS Fix for bug #76582
| * Merge branch 'PHP-7.0' into PHP-7.1Stanislav Malyshev2018-09-091-0/+1
| |\ | | | | | | | | | | | | | | | * PHP-7.0: Update NEWS Fix for bug #76582
| | * Merge branch 'PHP-5.6' into PHP-7.0Stanislav Malyshev2018-09-091-0/+1
| | |\ | | | | | | | | | | | | | | | | | | | | * PHP-5.6: Update NEWS Fix for bug #76582
| | | * Fix for bug #76582Stanislav Malyshev2018-09-091-0/+1
| | | | | | | | | | | | | | | | | | | | The brigade seems to end up in a messed up state if something fails in shutdown, so we clean it up.
| | | * Do not set PR_SET_DUMPABLE by defaultJakub Zelenka2018-03-274-1/+11
| | | |
| | | * These tests all assume that IPV6 is available.Rasmus Lerdorf2017-10-255-5/+20
| | | |
* | | | Merge branch 'PHP-7.1' into PHP-7.2Remi Collet2018-08-161-1/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | * PHP-7.1: fix man page installation