George Wang
4bdfce6c1a
Use __atomic_xxxx() instead of __sync_xxxx() for lsapi.
2022-11-20 19:30:07 -05:00
George Wang
8462a3de1a
Merge branch 'PHP-7.4' into PHP-8.0
2021-03-05 11:00:53 -05:00
George Wang
797edd6211
LiteSpeed SAPI v7.9: Process manager keeps forked child process alive for longer time based on load. Reduces PM overhead for busy setup.
2021-03-05 10:46:12 -05:00
Nikita Popov
824541d57e
Disable report_zend_debug by default
...
We might just want to drop this completely, but at least don't
enable it by default. It already gets disabled by a number of
SAPIs, but we should make that the default state.
2020-08-12 10:36:40 +02:00
George Wang
e05439e7a4
Merge branch 'PHP-7.4'
2020-08-10 19:11:48 -04:00
George Wang
1b0a2bb0f5
Merge branch 'PHP-7.3' into PHP-7.4
2020-08-10 19:11:26 -04:00
George Wang
07cb2755be
Make sure string is NUL byte terminated.
2020-08-10 19:11:03 -04:00
George Wang
293d2f99f1
Address some compiler warnings.
2020-07-23 17:21:24 -04:00
George Wang
78fc12a37a
Merge branch 'PHP-7.4'
2020-07-23 16:08:54 -04:00
George Wang
27bd16e71f
Merge branch 'PHP-7.3' into PHP-7.4
2020-07-23 15:54:48 -04:00
George Wang
874284d1c9
Merge branch 'PHP-7.2' into PHP-7.3
2020-07-23 15:36:35 -04:00
George Wang
c39f5fe94e
Security: update to LiteSpeed SAPI v7.7 to address an buffer overflow, and some log message tunings.
2020-07-23 15:35:32 -04:00
Max Semenik
2b5de6f839
Remove proto comments from C files
...
Closes GH-5758
2020-07-06 21:13:34 +02:00
Nikita Popov
c9b9f525a9
Include stub hash in generated arginfo files
...
The hash is used to check whether the arginfo file needs to be
regenerated. PHP-Parser will only be downloaded if this is actually
necessary.
This ensures that release artifacts will never try to regenerate
stubs and thus fetch PHP-Parser, as long as you do not modify any
files.
Closes GH-5739.
2020-06-24 09:55:19 +02:00
twosee
88355dd338
Constify char * arguments of APIs
...
Closes GH-5676.
2020-06-08 10:38:45 +02:00
Máté Kocsis
68527a7834
Add stubs for some SAPIs
...
For apache2handler, fpm, litespeed, phpdbg, specifically.
Partially implements GH-5295
2020-05-14 13:35:12 +02:00
Máté Kocsis
c3cf01b553
Fix #78880 : Yet another batch of spelling errors
2020-01-16 12:04:00 +01:00
Máté Kocsis
0b4778c377
Fix #78880 : Another bunch of spelling errors
2020-01-16 09:46:47 +01:00
George Wang
8a977e07d0
Merge branch 'PHP-7.4'
2019-11-21 17:59:05 -05:00
George Wang
99b8e67615
Merge branch 'PHP-7.3' into PHP-7.4
2019-11-21 17:58:44 -05:00
George Wang
e981f5af51
Merge branch 'PHP-7.2' into PHP-7.3
2019-11-21 17:58:16 -05:00
George Wang
c7141412ce
Added environment LSAPI_CLEAN_SHUTDOWN to control clean shutdown. Update SAPI version to LiteSpeed v7.6 .
2019-11-21 17:57:50 -05:00
Dmitry Stogov
b64a182233
Revert "Link executable files using non PIC object files. This reduces PIC overhead and improves performance."
...
This reverts commit eef85229d0 .
2019-10-10 16:28:59 +03:00
Gabriel Caruso
5d6e923d46
Remove mention of PHP major version in Copyright headers
...
Closes GH-4732.
2019-09-25 14:51:43 +02:00
Dmitry Stogov
eef85229d0
Link executable files using non PIC object files. This reduces PIC overhead and improves performance.
2019-09-07 11:59:11 +03:00
Dmitry Stogov
56e880af9f
Link executable files using non PIC object files. This reduces PIC overhead and improves performance.
2019-09-03 23:42:22 +03:00
Nikita Popov
d9680272c7
Revert "Drop free_filename field from zend_file_handle"
...
This reverts commit e0eca26285 .
free_filename is used by the wincache extension, restore this
field for PHP 7.4.
2019-07-24 10:43:37 +02:00
George Wang
30de357fa1
Merge branch 'PHP-7.3' into PHP-7.4
2019-07-21 00:01:39 -04:00
George Wang
82f35ab089
Merge branch 'PHP-7.2' into PHP-7.3
2019-07-21 00:01:06 -04:00
George Wang
eb7e45f662
Checked in LiteSpeed SAPI 7.5, addressed two main problems in "clean 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().
2019-07-20 23:59:43 -04:00
Nikita Popov
e0eca26285
Drop free_filename field from zend_file_handle
...
free_filename was always zero.
2019-07-16 17:07:26 +02:00
Nikita Popov
49bac9b77b
Introduce zend_stream_init_filename()
...
Avoid more ad-hoc initialization of zend_file_handle structures.
2019-07-16 16:44:37 +02:00
Nikita Popov
46faf8f018
Introduce zend_stream_init_fp() API
...
Reduce the amount of code that mucks around with zend_file_handle
initialization.
2019-07-16 16:44:37 +02:00
George Wang
6a403504e7
Merge branch 'PHP-7.3' into PHP-7.4
2019-07-04 12:14:48 -04:00
George Wang
3ec8776940
Merge branch 'PHP-7.2' into PHP-7.3
2019-07-04 12:04:08 -04:00
George Wang
32af676bd9
Updated to LiteSpeed SAPI V7.4.3
...
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
2019-07-04 12:03:21 -04:00
Peter Kokot
2dd6ec07d1
Simplify LiteSpeed SAPI module version
...
This patch syncs versioning of the LiteSpeed SAPI module by making it in
sync with the rest of the bundled PHP extensions and SAPIs.
Closes #4145
2019-06-09 22:32:47 +02:00
Peter Kokot
5b36c9fef6
Use PHP_VERSION for zend modules
...
Closes #4147
2019-06-09 22:32:47 +02:00
Peter Kokot
8e456d3b9e
Rename configure --with-litespeed to --enable-litespeed
...
This syncs the configuration option of the litespeed module to be
compliant with the approach of:
--with-foo (when something additional needs to be installed such as
libfoo)
--enable-foo (when extension/sapi doesn't have dependencies on some
library)
2019-05-17 03:14:13 +02:00
Peter Kokot
75fb74860d
Normalize comments in *nix build system m4 files
...
Normalization include:
- Use dnl for everything that can be ommitted when configure is built in
favor of the shell comment character # which is visible in the output.
- Line length normalized to 80 columns
- Dots for most of the one line sentences
- Macro definitions include similar pattern header comments now
2019-05-12 18:43:03 +02:00
Peter Kokot
313930a36a
Remove unused variables
2019-05-10 22:58:14 +02:00
George Wang
dc63b0e480
Merge branch 'PHP-7.3' into PHP-7.4
2019-05-09 18:15:48 -04:00
George Wang
d2037b1bd4
Merge branch 'PHP-7.2' into PHP-7.3
2019-05-09 18:14:11 -04:00
George Wang
af4143753f
Updated LiteSpeed SAPI to 7.3.2 to allow request header value length up to 64K.
2019-05-09 18:13:25 -04:00
George Wang
bd86ae4b8a
Merge branch 'PHP-7.3' into PHP-7.4
2019-04-21 15:59:49 -04:00
George Wang
fb4c811835
Merge branch 'PHP-7.2' into PHP-7.3
2019-04-21 15:59:07 -04:00
George Wang
ce73841cdc
Improved LSAPI_End_Response_r() .
2019-04-21 15:04:54 -04:00
George Wang
ccf051c317
Fixed bug in litespeed_finish_request(), disable fastcgi_finish_request() alias for now.
2019-04-21 14:59:51 -04:00
Peter Kokot
1c94aac89e
[ci skip] Fix CS in Markdown files
...
Checked and quickfixed with Markdown linter
- 80 columns line width (~)
- code highlighting
- ...
Some most obvious outdated content updated a bit more.
2019-04-21 15:33:20 +02:00
George Wang
f0f1388d60
Merge branch 'PHP-7.3' into PHP-7.4
2019-04-12 17:48:22 -04:00