History log of /php-src/ext/standard/tests/streams/bug51056.phpt (Results 1 – 2 of 2)
Revision Date Author Comments
# 1ea8c821 23-Oct-2022 Jakub Zelenka

Make test for bug #51056 (blocking read) more reliable

It seems that it might sometimes not return the last 0 bytes on Windows
because it likely signals EOF before that. We do not really

Make test for bug #51056 (blocking read) more reliable

It seems that it might sometimes not return the last 0 bytes on Windows
because it likely signals EOF before that. We do not really need to
check it so only non 0 lines are printed.

show more ...


# 18fe337b 05-Oct-2022 Jakub Zelenka

Fix bug #51056: fread() on blocking stream will block even if data is available

This is applied only on socket connection which already returns
immediately if there is no data in the buf

Fix bug #51056: fread() on blocking stream will block even if data is available

This is applied only on socket connection which already returns
immediately if there is no data in the buffer.

show more ...