mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Merge branch 'PHP-7.3' into PHP-7.4
This commit is contained in:
commit
a023eb3967
2 changed files with 6 additions and 1 deletions
4
NEWS
4
NEWS
|
@ -13,6 +13,10 @@ PHP NEWS
|
|||
. Fixed bug #78183 (finfo_file shows wrong mime-type for .tga file).
|
||||
(Anatol)
|
||||
|
||||
- Openssl:
|
||||
. Fixed bug #78231 (Segmentation fault upon stream_socket_accept of exported
|
||||
socket-to-stream). (Nikita)
|
||||
|
||||
- Opcache:
|
||||
. Fixed #78202 (Opcache stats for cache hits are capped at 32bit NUM). (cmb)
|
||||
|
||||
|
|
|
@ -2383,7 +2383,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…
Add table
Add a link
Reference in a new issue