mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
Merge branch 'PHP-7.2' into PHP-7.3
This commit is contained in:
commit
af3c854074
4
NEWS
4
NEWS
@ -9,6 +9,10 @@ PHP NEWS
|
||||
. Fixed #69044 (discrepency between time and microtime). (krakjoe)
|
||||
. Updated timelib to 2018.02. (Derick)
|
||||
|
||||
- Openssl:
|
||||
. Fixed bug #78231 (Segmentation fault upon stream_socket_accept of exported
|
||||
socket-to-stream). (Nikita)
|
||||
|
||||
- Opcache:
|
||||
. Fixed bug #78189 (file cache strips last character of uname hash). (cmb)
|
||||
. Fixed bug #78202 (Opcache stats for cache hits are capped at 32bit NUM).
|
||||
|
@ -2322,7 +2322,8 @@ static inline int php_openssl_tcp_sockop_accept(php_stream *stream, php_openssl_
|
||||
|
||||
xparam->outputs.client = NULL;
|
||||
|
||||
if ((tmpzval = php_stream_context_get_option(PHP_STREAM_CONTEXT(stream), "socket", "tcp_nodelay")) != NULL &&
|
||||
if (PHP_STREAM_CONTEXT(stream) &&
|
||||
(tmpzval = php_stream_context_get_option(PHP_STREAM_CONTEXT(stream), "socket", "tcp_nodelay")) != NULL &&
|
||||
zend_is_true(tmpzval)) {
|
||||
nodelay = 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user