summaryrefslogtreecommitdiff
path: root/sapi
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Fix minor typoAdrien Crivelli2016-12-031-1/+1
|
* Fixed testDmitry Stogov2016-11-171-1/+1
|
* Formatting. Fix possible memory corruption in FPM SHM managementJulien Pauli2016-09-231-12/+16
|
* fix every work call mmaptom9162016-09-231-13/+12
| | | | fix fpm_scoreboard_free
* Fix wrong year in previous commit.George Wang2016-09-191-2/+2
|
* backport 59444347 and 3d7343f6Anatol Belski2016-09-083-0/+12
|
* Added .user.ini support.George Wang2016-08-281-32/+489
| | | | | Added LSPHPRC support. update LiteSpeed SAPI version to 6.10 .
* Fix bug #72836 - integer overflow in base64_decode caused heap corruptionStanislav Malyshev2016-08-162-0/+489
|
* Fix #72676: Test cli_process_title_unix fails on AIXChristoph M. Becker2016-07-281-1/+6
| | | | Patch provided by matthieu dot sarter dot external at atos dot net.
* FPM: add test for CVE-2016-5385Remi Collet2016-07-222-3/+84
|
* Fix #72575: using --allow-to-run-as-root should ignore missing usergooh2016-07-121-2/+2
| | | | | | | | | | | | | | | | | | | | directive Trying to start PHP-FPM with the --allow-to-run-as-root flag will not work when the user directive is not given in the FPM worker pool configuration. Parsing the config will fail. Consequently, FPM cannot start. The check is in place to prevent FPM from getting started with root privileges by accident. Prior to #61295 the check would also prevent any non-root user to start PHP-FPM without a user directive present. This patch adds an additional check to the config parser, checking for the --allow-to-run-as-root flag to be present. If so, parsing will no longer abort for root users even if the user directive is missing. I will also update the PHP docs since they still state the user directive is a mandatory setting which it is not since #61295.
* Remove needless zeroing of anonymously mmap'd memoryJulien Pauli2016-07-111-1/+0
|
* Remove needless zeroing of anonymously mmap'd memoryMichael McConville2016-07-112-2/+0
| | | | | | | All existing systems zero anonymously mmapped memory, and if I understand correctly POSIX will be specifying this soon. Many projects already rely on it, so no reasonable system would return memory of unspecified value.
* Fix typo in phpdbg help.Adam Harvey2016-05-251-1/+1
| | | | | Sorry, I would have included this in the last push had I spotted it a minute earlier.
* Add missing newlines to phpdbg's help for the run command.Adam Harvey2016-05-251-1/+3
| | | | | This is not at all related to needing screenshots for a talk I'm giving in two days. No sir. Not at all.
* mark frequent intermittent fpm test with XFAILFerenc Kovacs2016-04-181-0/+6
|
* Fixed bug #69953Christoph M. Becker2016-03-034-5/+23
| | | | Added support for MKCALENDAR request method in CLI web server.
* Disable upload_2G test on travisNikita Popov2016-03-031-0/+4
|
* fix ts buldAnatol Belski2016-02-181-1/+1
|
* Fixed bug #71559 Built-in HTTP server, we can downlaod file in web by bugAnatol Belski2016-02-141-0/+13
|
* Align spacing in make install messagesLior Kaplan2016-02-082-2/+2
|
* Fixed Bug #62172 FPM not working with Apache httpd 2.4 balancer/fcgi setupRemi Collet2016-01-291-1/+25
| | | | Only needed with Apache version < 2.4.12 (ex RHEL-7)
* fix testAnatol Belski2016-01-181-5/+5
|
* Simplify code per Anatol.Adam Harvey2016-01-112-41/+8
|
* Insert bug number.Adam Harvey2016-01-111-1/+1
|
* Use strtoll() when apr_off_t is 64 bits.Adam Harvey2016-01-112-9/+42
|
* Merge branch 'PHP-5.5' into PHP-5.6Stanislav Malyshev2016-01-051-0/+5
|\ | | | | | | | | | | | | | | | | | | | | | | * PHP-5.5: Update NEWS Improve fix for bug #70976 Fixed bug #70661 (Use After Free Vulnerability in WDDX Packet Deserialization) Fixed bug #70741: Session WDDX Packet Deserialization Type Confusion Vulnerability Fixed #70728 Fixed bug #70755: fpm_log.c memory leak and buffer overflow Fix bug #70976: fix boundary check on gdImageRotateInterpolated typofix
| * Fixed bug #70755: fpm_log.c memory leak and buffer overflowStanislav Malyshev2015-12-081-0/+5
| |
* | Happy new year (Update copyright to 2016)Lior Kaplan2016-01-033-4/+4
| |
* | Happy new year (Update copyright to 2016)Lior Kaplan2016-01-0199-108/+108
| |
* | Added support for HTTP 451Julien Pauli2015-12-233-0/+3
| |
* | Bumped SAPI version to 6.9George Wang2015-12-091-1/+1
| |
* | Added "mod_auth_basic" to apache module list.George Wang2015-12-091-1/+1
| |
* | Add sanitizing checks for request data.George Wang2015-12-091-2/+54
| |
* | Clear secret after use.George Wang2015-12-091-5/+8
| |
* | Fixed __DIR__ in CLI mode.George Wang2015-12-091-0/+2
| |
* | Fixed bug #61751 (SAPI build problem on AIX: Undefined symbol: ↵Lior Kaplan2015-11-233-5/+5
| | | | | | | | php_register_internal_extensions)
* | Ensure the test failsXinchen Hui2015-11-111-0/+4
| |
* | unbreak coverage data: fix #line directives in phpdbg parserNuno Lopes2015-10-241-25/+25
| |
* | Fix globals initialization in sapi/cgiAnatol Belski2015-10-231-5/+6
| | | | | | | | Basically backport 8430ec17
* | Add test XFAIL for bug #70470Xinchen Hui2015-09-111-0/+41
| |
* | Fix #68291: 404 on urls with '+'Christoph M. Becker2015-09-052-2/+23
| | | | | | | | | | URI paths have to be treated according to RFC 3986 by the CLI web server, not as application/x-www-form-urlencoded.
* | Fix phpdbg_break_next()Bob Weinand2015-08-231-0/+1
| |
* | Fix #70264: CLI server directory traversalChristoph M. Becker2015-08-142-0/+33
| | | | | | | | | | | | | | | | On Windows the built-in webserver doesn't prevent directory traversal when backslashes are used as path component separators. Even though that is not a security issue (the CLI webserver is meant for testing only), we fix that by replacing backslashes in the path with slashes on Windows, because backslashes may be valid characters for file names on other systems, but not on Windows.
* | Fix #69487: SAPI may truncate POST dataChristoph M. Becker2015-08-111-0/+20
| | | | | | | | | | | | | | If SG(request_info).request_body can't be completely written (e.g. due to a full drive), only parts of the POST data will be available. This patch changes this, so that SG(request_info).request_body will be reset in this case, and a warning will be thrown.
* | Fix #66606: Sets HTTP_CONTENT_TYPE but not CONTENT_TYPEwusuopu2015-08-091-0/+3
| | | | | | | | The patch will store Content-Type header value in both HTTP_CONTENT_TYPE field and CONTENT_TYPE field.
* | added tests for bug #66606Christoph M. Becker2015-08-092-0/+63
| |