From: George Wang Date: Fri, 12 Apr 2019 21:48:22 +0000 (-0400) Subject: Merge branch 'PHP-7.3' into PHP-7.4 X-Git-Tag: php-7.4.0alpha1~507 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f0f1388d6043eb22a76f998b3ac19c10b9450b62;p=php Merge branch 'PHP-7.3' into PHP-7.4 --- f0f1388d6043eb22a76f998b3ac19c10b9450b62 diff --cc sapi/litespeed/lsapi_main.c index 4a6b1a0f3f,2598141722..66f973ada8 --- a/sapi/litespeed/lsapi_main.c +++ b/sapi/litespeed/lsapi_main.c @@@ -1504,3 -1517,27 +1507,18 @@@ PHP_FUNCTION(apache_get_modules } } /* }}} */ + + + /* {{{ proto array litespeed_finish_request(void) + Flushes all response data to the client */ + PHP_FUNCTION(litespeed_finish_request) + { + if (ZEND_NUM_ARGS() > 0) { + WRONG_PARAM_COUNT; + } + if (LSAPI_End_Response() != -1) { + RETURN_TRUE; + } + RETURN_FALSE; + } + /* }}} */ - -/* - * Local variables: - * tab-width: 4 - * c-basic-offset: 4 - * End: - * vim600: sw=4 ts=4 fdm=marker - * vim<600: sw=4 ts=4 - */