Skip to content

TrueAsync 0.11.9

Latest

Choose a tag to compare

@EdmondDantes EdmondDantes released this 14 Nov 12:32
· 14 commits to main since this release
dbc62f9

Changed

  • php-src is merged with upstream PHP-8.6 at 8.6.1-dev. The module API number is 20261112, so extensions built for 0.11.8 must be rebuilt.

Fixed

  • fclose() freed a filter chain under a coroutine suspended in a user filter or a userspace stream: the side that returned first lifted the close guard of the other. Each side has its own guard, and fclose() and pclose() refuse while either is set (#324).
  • A coroutine could enter a stream while its fclose() was suspended in the close flush (a user filter called with $closing, a zlib.deflate tail) and walk into the chain the close then freed. The stream is closed for other coroutines before the flush (#324).
  • Removing a stream filter from inside its own callback is refused with "Cannot remove filter while it is being applied" (upstream GH-22063); a removal from another coroutine waits for the chain's lock.

Known issue: proc_close() still frees a pipe under a suspended user filter (#325).

php-src: php-8.6.1-trueasync-0.11.9 (true-async-stable b006f1fb67c). Full entries in CHANGELOG.md.