com php-src: Lower the value to 24 hours from 1 year, which due to a overflow in php_tvtoto (bug#71507) is j ust 17 days.: ext/mysqlnd/php_mysqlnd.c

From: Date: Mon, 17 Oct 2016 16:25:01 +0000
Subject: com php-src: Lower the value to 24 hours from 1 year, which due to a overflow in php_tvtoto (bug#71507) is j ust 17 days.: ext/mysqlnd/php_mysqlnd.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-95169@lists.php.net to get a copy of this message
Commit: 543cc08a75039ed934ecc1fe973ec23df7c19df9 Author: Andrey Hristov <andrey@php.net> Mon, 17 Oct 2016 19:25:01 +0300 Parents: 9594e364ed49d575dc27b887a996af10d18577ce Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=543cc08a75039ed934ecc1fe973ec23df7c19df9 Log: Lower the value to 24 hours from 1 year, which due to a overflow in php_tvtoto (bug#71507) is just 17 days. Bugs: https://bugs.php.net/71507 Changed paths: M ext/mysqlnd/php_mysqlnd.c Diff: diff --git a/ext/mysqlnd/php_mysqlnd.c b/ext/mysqlnd/php_mysqlnd.c index 337f06a..6eb548d 100644 --- a/ext/mysqlnd/php_mysqlnd.c +++ b/ext/mysqlnd/php_mysqlnd.c @@ -234,7 +234,7 @@ PHP_INI_BEGIN() STD_PHP_INI_ENTRY("mysqlnd.trace_alloc", NULL, PHP_INI_SYSTEM, OnUpdateString, trace_alloc_settings, zend_mysqlnd_globals, mysqlnd_globals) STD_PHP_INI_ENTRY("mysqlnd.net_cmd_buffer_size", MYSQLND_NET_CMD_BUFFER_MIN_SIZE_STR, PHP_INI_ALL, OnUpdateNetCmdBufferSize, net_cmd_buffer_size, zend_mysqlnd_globals, mysqlnd_globals) STD_PHP_INI_ENTRY("mysqlnd.net_read_buffer_size", "32768",PHP_INI_ALL, OnUpdateLong, net_read_buffer_size, zend_mysqlnd_globals, mysqlnd_globals) - STD_PHP_INI_ENTRY("mysqlnd.net_read_timeout", "31536000", PHP_INI_SYSTEM, OnUpdateLong, net_read_timeout, zend_mysqlnd_globals, mysqlnd_globals) + STD_PHP_INI_ENTRY("mysqlnd.net_read_timeout", "86400",PHP_INI_ALL, OnUpdateLong, net_read_timeout, zend_mysqlnd_globals, mysqlnd_globals) STD_PHP_INI_ENTRY("mysqlnd.log_mask", "0", PHP_INI_ALL, OnUpdateLong, log_mask, zend_mysqlnd_globals, mysqlnd_globals) STD_PHP_INI_ENTRY("mysqlnd.mempool_default_size","16000", PHP_INI_ALL, OnUpdateLong, mempool_default_size, zend_mysqlnd_globals, mysqlnd_globals) STD_PHP_INI_ENTRY("mysqlnd.sha256_server_public_key",NULL, PHP_INI_PERDIR, OnUpdateString, sha256_server_public_key, zend_mysqlnd_globals, mysqlnd_globals)

« previous php.cvs (#95169) next »