Skip to content

v0.5.4

Compare
Choose a tag to compare
@trowski trowski released this 30 Dec 04:27
· 10 commits to v0.5.x since this release

Added

  • Icicle\Stream\Pipe\ReadablePipe, Icicle\Stream\Pipe\WritablePipe, and Icicle\Stream\Pipe\DuplexPipe will automatically free resources in the event loop associated with the stream and call fclose() on the stream resource when the object is destructed. This means close() does not need to be called on the stream to avoid memory leaks in the loop or close the stream resource. The constructors of these classes have an additional boolean parameter $autoClose that defaults to true, but can be set to false to avoid automatically calling fclose() on the stream resource.

Fixed

  • Fixed an issue where only the timeout of the last write would be used if there was a queue of pending writes in Icicle\Stream\Pipe\WritablePipe.