fix(VirtualStream): Fix stream closing behavior to correctly handle closing bits

This commit is contained in:
2024-10-16 09:56:32 +02:00
parent 57e51543e7
commit 74e6205ac3
3 changed files with 23 additions and 6 deletions

View File

@@ -1,5 +1,12 @@
# Changelog
## 2024-10-16 - 3.1.8 - fix(VirtualStream)
Fix stream closing behavior to correctly handle closing bits
- Introduced a 'closingBit' constant to properly signal the end of stream data.
- Updated the 'readFromWebstream' function to send a closing bit upon completion if 'closeAfterReading' is true.
- Modified the 'close' method to optionally send a closing bit when terminating the stream.
## 2024-10-16 - 3.1.7 - fix(VirtualStream)
Fix issue in VirtualStream to handle null values during data writing.