diff options
Diffstat (limited to 'sapi/litespeed')
| -rw-r--r-- | sapi/litespeed/README | 2 | ||||
| -rw-r--r-- | sapi/litespeed/lsapi_main.c | 3 | ||||
| -rw-r--r-- | sapi/litespeed/lsapilib.c | 6 |
3 files changed, 6 insertions, 5 deletions
diff --git a/sapi/litespeed/README b/sapi/litespeed/README index 3f138c216..e548ec97d 100644 --- a/sapi/litespeed/README +++ b/sapi/litespeed/README @@ -20,7 +20,7 @@ server configuration to enhance server security when mod_php is used. usually, FastCGI PHP is not an option in shared hosting environment due to lacking of this flexibility. LiteSpeed SAPI is carefully designed to address this issue. PHP configurations can be modified the same way -as that in mod_php with the the same configuration directives. +as that in mod_php with the same configuration directives. PHP with LiteSpeed SAPI is highly recommended over FastCGI PHP for PHP scripting with LiteSpeed web server. diff --git a/sapi/litespeed/lsapi_main.c b/sapi/litespeed/lsapi_main.c index f828b1fc3..0a2f04a28 100644 --- a/sapi/litespeed/lsapi_main.c +++ b/sapi/litespeed/lsapi_main.c @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: lsapi_main.c 306212 2010-12-10 22:51:08Z gwang $ */ +/* $Id: lsapi_main.c 311680 2011-05-31 22:40:42Z gwang $ */ #include "php.h" #include "SAPI.h" @@ -660,6 +660,7 @@ static int cli_main( int argc, char * argv[] ) "implicit_flush", "1", "output_buffering", "0", "max_execution_time", "0", + "max_input_time", "-1", NULL }; diff --git a/sapi/litespeed/lsapilib.c b/sapi/litespeed/lsapilib.c index 56ea94aad..ac5892cd6 100644 --- a/sapi/litespeed/lsapilib.c +++ b/sapi/litespeed/lsapilib.c @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: lsapilib.c 306212 2010-12-10 22:51:08Z gwang $ */ +/* $Id: lsapilib.c 311935 2011-06-08 16:51:59Z gwang $ */ /* Copyright (c) 2007, Lite Speed Technologies Inc. @@ -1453,7 +1453,7 @@ int LSAPI_ParseSockAddr( const char * pBind, struct sockaddr * pAddr ) return -1; } - while( isspace( *p ) ) { + while( isspace( *pBind ) ) { ++pBind; } @@ -1509,7 +1509,7 @@ int LSAPI_ParseSockAddr( const char * pBind, struct sockaddr * pAddr ) } port = atoi( pEnd ); - if (( port <= 0 )||( port > 655535 )) { + if (( port <= 0 )||( port > 65535 )) { return -1; } if ( doAddrInfo ) { |
