php-src/main/streams
Nikita Popov 24a19cc232 Suppress stream errors in mysqlnd
mysqlnd currently sets error_reporting=0 to suppress errors while
writing to streams. Unfortunately these errors are still visible
to userland error handlers, which is a source of confusion.
See for example https://bugs.php.net/bug.php?id=80412.

Instead add a stream flag that suppresses the emission of
read/write errors in the first place, and set it in mysqlnd.

I think it might be useful to have this option for userland as
well in the future, but for now this is just an internal
mechanism.

Closes GH-6458.
2020-11-30 15:06:28 +01:00
..
cast.c Use standard types in fopencookie test 2020-08-05 10:39:37 +02:00
filter.c Make error messages more consistent by fixing capitalization 2020-01-17 14:52:46 +01:00
glob_wrapper.c Remove mention of PHP major version in Copyright headers 2019-09-25 14:51:43 +02:00
memory.c Constify char * arguments of APIs 2020-06-08 10:38:45 +02:00
mmap.c Merge branch 'PHP-7.4' 2019-10-31 09:37:27 +01:00
php_stream_context.h Fix expression warnings and break warnings 2020-06-07 10:41:11 +02:00
php_stream_filter_api.h Remove mention of PHP major version in Copyright headers 2019-09-25 14:51:43 +02:00
php_stream_glob_wrapper.h Remove mention of PHP major version in Copyright headers 2019-09-25 14:51:43 +02:00
php_stream_mmap.h Merge branch 'PHP-7.4' into master 2020-09-21 16:09:17 +02:00
php_stream_plain_wrapper.h Remove mention of PHP major version in Copyright headers 2019-09-25 14:51:43 +02:00
php_stream_transport.h Remove mention of PHP major version in Copyright headers 2019-09-25 14:51:43 +02:00
php_stream_userspace.h Remove mention of PHP major version in Copyright headers 2019-09-25 14:51:43 +02:00
php_streams_int.h Remove mention of PHP major version in Copyright headers 2019-09-25 14:51:43 +02:00
plain_wrapper.c Suppress stream errors in mysqlnd 2020-11-30 15:06:28 +01:00
streams.c Clear error flag instead of toggling it 2020-09-23 23:26:58 +02:00
transports.c Make error messages more consistent by fixing capitalization 2020-01-17 14:52:46 +01:00
userspace.c Merge branch 'PHP-7.4' into master 2020-09-22 16:14:03 +02:00
xp_socket.c Suppress stream errors in mysqlnd 2020-11-30 15:06:28 +01:00