mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Avoid reinitailization of ZTS cache pointer. Initialize it once in TSRM.c
This commit is contained in:
parent
7139c381f1
commit
04b67bac32
12 changed files with 15 additions and 15 deletions
|
@ -1296,9 +1296,6 @@ out:
|
|||
|
||||
static int php_cli_server_request_ctor(php_cli_server_request *req) /* {{{ */
|
||||
{
|
||||
#ifdef ZTS
|
||||
ZEND_TSRMLS_CACHE_UPDATE();
|
||||
#endif
|
||||
req->protocol_version = 0;
|
||||
req->request_uri = NULL;
|
||||
req->request_uri_len = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue