]> granicus.if.org Git - php/commitdiff
Updated LiteSpeed SAPI to 7.3.2 to allow request header value length up to 64K.
authorGeorge Wang <gwang@php.net>
Thu, 9 May 2019 22:13:25 +0000 (18:13 -0400)
committerGeorge Wang <gwang@php.net>
Thu, 9 May 2019 22:13:25 +0000 (18:13 -0400)
sapi/litespeed/lsapi_main.c
sapi/litespeed/lsapidef.h
sapi/litespeed/lsapilib.c

index dd50e448deb668dd296b213813eab62c98fbc872..9087ae9f3c1c7a410185ef23324153d4842c1b7e 100644 (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 */
index f6c0cb023122add78bd8b2591ee24dca16e787a0..ee87a0105309a17c394b34a7aa82aba845bad725 100644 (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];
 } ;
 
index 88a30a7f6a5c500aa3321405d7ffb989e425b948..926a832ceaed01a21a15cd8c46b27aea6d6794bc 100644 (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 );