History log of /php-src/ext/standard/tests/http/gh8641.phpt (Results 1 – 1 of 1)
Revision Date Author Comments
# d22d0e26 04-Feb-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Implement GH-8641: STREAM_NOTIFY_COMPLETED over HTTP never emitted

This adds support for the completed event. Since the read handler could
be entered twice towards the end of the stream

Implement GH-8641: STREAM_NOTIFY_COMPLETED over HTTP never emitted

This adds support for the completed event. Since the read handler could
be entered twice towards the end of the stream we remember what the eof
flag was before reading so we can emit the completed event when the flag
changes to true.

Closes GH-10505.

show more ...