Updated LiteSpeed SAPI to 7.3.2 to allow request header value length up to 64K.

This commit is contained in:
George Wang 2019-05-09 18:13:25 -04:00
parent 27f168cf63
commit af4143753f
3 changed files with 2 additions and 5 deletions

View File

@ -466,7 +466,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 */

View File

@ -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];
} ;

View File

@ -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 );