summaryrefslogtreecommitdiff
path: root/sapi
diff options
context:
space:
mode:
authorGeorge Wang <gwang@php.net>2019-05-09 18:14:11 -0400
committerGeorge Wang <gwang@php.net>2019-05-09 18:14:11 -0400
commitd2037b1bd45684dda48d4a212b96349fb3737db0 (patch)
treea225f9640e0eadaa3f3f506f69fb5d8e2f28feab /sapi
parentfd1ffa4692dd91af08ea019fc2db0d8b3835dfe9 (diff)
parentaf4143753f49e93e52f203790468b73b9df6a979 (diff)
downloadphp-git-d2037b1bd45684dda48d4a212b96349fb3737db0.tar.gz
Merge branch 'PHP-7.2' into PHP-7.3
Diffstat (limited to 'sapi')
-rw-r--r--sapi/litespeed/lsapi_main.c2
-rw-r--r--sapi/litespeed/lsapidef.h2
-rw-r--r--sapi/litespeed/lsapilib.c3
3 files changed, 2 insertions, 5 deletions
diff --git a/sapi/litespeed/lsapi_main.c b/sapi/litespeed/lsapi_main.c
index a5eb973cad..a2eb54ae95 100644
--- a/sapi/litespeed/lsapi_main.c
+++ b/sapi/litespeed/lsapi_main.c
@@ -455,7 +455,7 @@ static int sapi_lsapi_activate()
static sapi_module_struct lsapi_sapi_module =
{
"litespeed",
- "LiteSpeed V7.3.1",
+ "LiteSpeed V7.3.2",
php_lsapi_startup, /* startup */
php_module_shutdown_wrapper, /* shutdown */
diff --git a/sapi/litespeed/lsapidef.h b/sapi/litespeed/lsapidef.h
index f6c0cb0231..ee87a01053 100644
--- a/sapi/litespeed/lsapidef.h
+++ b/sapi/litespeed/lsapidef.h
@@ -163,7 +163,7 @@ struct lsapi_req_header
struct lsapi_http_header_index
{
- int16_t m_headerLen[H_TRANSFER_ENCODING+1];
+ uint16_t m_headerLen[H_TRANSFER_ENCODING+1];
int32_t m_headerOff[H_TRANSFER_ENCODING+1];
} ;
diff --git a/sapi/litespeed/lsapilib.c b/sapi/litespeed/lsapilib.c
index 88a30a7f6a..926a832cea 100644
--- a/sapi/litespeed/lsapilib.c
+++ b/sapi/litespeed/lsapilib.c
@@ -3170,9 +3170,6 @@ static int lsapi_prefork_server_accept( lsapi_prefork_server * pServer,
#if defined(linux) || defined(__linux) || defined(__linux__) || defined(__gnu_linux__)
*s_avail_pages = sysconf(_SC_AVPHYS_PAGES);
-// lsapi_log("Memory total: %zd, free: %zd, free %%%zd\n",
-// s_total_pages, *s_avail_pages, *s_avail_pages * 100 / s_total_pages);
-
#endif
FD_ZERO( &readfds );
FD_SET( pServer->m_fd, &readfds );