David Carlier
8a221e2763
fix litespeed SAPI build warnings.
...
- helpers only called on linux anyway.
- proper C calls prototypes.
Closes GH-10068.
2022-12-10 14:13:30 +00:00
George Wang
aee1a2f4c0
Merge branch 'PHP-8.0' into PHP-8.1
2022-11-20 19:30:25 -05:00
George Wang
4bdfce6c1a
Use __atomic_xxxx() instead of __sync_xxxx() for lsapi.
2022-11-20 19:30:07 -05:00
David CARLIER
7d5a9dd05d
Litespeed sapi OpenBSD build fix ( #3999 )
...
attempt to core dump in the proper place.
implement sendfile
2021-06-09 09:11:54 +02:00
Remi Collet
e5b6f43ec7
get rid of inet_addr usage
2021-05-06 16:32:06 +02:00
KsaR
01b3fc03c3
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 |
2021-05-06 12:16:35 +02:00
Josh Soref
462da6e09c
Fix spelling and grammar mistakes
...
This PR corrects misspellings identified by the check-spelling action.
The misspellings have been reported at jsoref@b6ba3e2#commitcomment-48946465
The action reports that the changes in this PR would make it happy: jsoref@602417c
Closes GH-6822.
2021-04-13 12:09:37 +02: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
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
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
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
Máté Kocsis
c3cf01b553
Fix #78880 : Yet another batch of spelling errors
2020-01-16 12:04:00 +01:00
Gabriel Caruso
5d6e923d46
Remove mention of PHP major version in Copyright headers
...
Closes GH-4732.
2019-09-25 14:51:43 +02:00
George Wang
dc63b0e480
Merge branch 'PHP-7.3' into PHP-7.4
2019-05-09 18:15:48 -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
ce73841cdc
Improved LSAPI_End_Response_r() .
2019-04-21 15:04:54 -04:00
George Wang
f0f1388d60
Merge branch 'PHP-7.3' into PHP-7.4
2019-04-12 17:48:22 -04:00
George Wang
1e7f1b90e8
LiteSpeed SAPI 7.3, better process management, new API function litespeed_finish_request().
2019-04-12 17:43:45 -04:00
Remi Collet
233888e36a
use DL_LOAD in litespeed
2019-03-12 08:23:11 +01:00
Nikita Popov
2e31786627
Merge branch 'PHP-7.3' into PHP-7.4
2019-03-01 14:52:02 +01:00
Kevin Adler
006355c9fa
Fix bug #77677 : WCOREDUMP not available on all systems
...
Add #ifdef WCOREDUMP around all uses.
Also Change core dump message to yes/no/unknown in lsapilib.
2019-03-01 14:51:15 +01:00
Zeev Suraski
0cf7de1c70
Remove yearly range from copyright notice
2019-01-30 11:03:12 +02:00
George Wang
66d72377d0
Checkin LiteSpeed SAPI 7.2.
2019-01-20 15:10:19 -05:00
Peter Kokot
60a69daec6
Sync leading and final newlines in source code files
...
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
2018-10-14 12:54:08 +02:00
Peter Kokot
902d39a3a7
Trim trailing whitespace in source code files
2018-10-13 14:14:50 +02:00
George Wang
5b529bbc94
Updated LiteSpeed SAPI to 7.1 .
2018-04-10 16:48:04 -04:00
George Wang
97ff815cbb
release LiteSpeed SAPI 7.0.
...
add CRIU support.
add support for [PATH=] and [HOST=] sections in php.ini
2018-02-27 13:54:28 -05:00
Xinchen Hui
ccd4716ec7
year++
2018-01-02 12:53:31 +08:00
Sammy Kaye Powers
dac6c639bb
Update copyright headers to 2017
2017-01-04 11:23:42 -06:00
Julien Pauli
51e7415575
Merge branch 'PHP-7.0'
...
* PHP-7.0:
Remove needless zeroing of anonymously mmap'd memory
Remove needless zeroing of anonymously mmap'd memory
2016-07-11 14:59:24 +02:00
Julien Pauli
fc2c301fe2
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Remove needless zeroing of anonymously mmap'd memory
Remove needless zeroing of anonymously mmap'd memory
2016-07-11 14:58:55 +02:00
Michael McConville
9dd5d96332
Remove needless zeroing of anonymously mmap'd memory
...
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.
2016-07-11 14:56:17 +02:00
Lior Kaplan
3d5438bf7b
Merge branch 'PHP-7.0'
...
* PHP-7.0:
Update header to PHP Version 7
Happy new year (Update copyright to 2016)
Happy new year (Update copyright to 2016)
2016-01-01 20:04:31 +02:00
Lior Kaplan
ed35de784f
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Happy new year (Update copyright to 2016)
2016-01-01 19:48:25 +02:00
Lior Kaplan
49493a2dcf
Happy new year (Update copyright to 2016)
2016-01-01 19:21:47 +02:00
George Wang
5a319a02d8
Add sanitizing checks for request data.
2015-12-09 11:37:43 +01:00
George Wang
af1ac753fe
Clear secret after use.
2015-12-09 11:37:42 +01:00
George Wang
08080c18f5
Add sanitizing checks for request data.
2015-12-09 00:26:41 -05:00
George Wang
c60d4b9770
Clear secret after use.
2015-12-09 00:26:24 -05:00
George Wang
372a839040
Add sanitizing checks for request data.
2015-12-09 00:06:49 -05:00
George Wang
292aa9d6cb
Clear secret after use.
2015-12-08 23:43:29 -05:00
George Wang
81ab4b12aa
Fixed Buf #68812 Unchecked return value.
2015-06-08 15:47:11 -04:00
George Wang
eb15ec385e
Fixed Buf #68812 Unchecked return value.
2015-06-08 15:46:56 -04:00
George Wang
bb491c2de1
Fixed a bug that header value is not terminated by '\0' when accessed through getenv().
...
Conflicts:
sapi/litespeed/lsapilib.c
2015-02-25 11:30:33 -05:00
George Wang
65810bf259
Fixed a bug that header value is not terminated by '\0' when accessed through getenv().
2015-02-25 11:24:19 -05:00