Skip to content

2.0.0

Choose a tag to compare

@playmiel playmiel released this 18 Feb 16:57
· 466 commits to main since this release
e87a0ef

Documentation and API improvements
Added clear documentation and API for multi-tunnel/multiple listener support using addTunnelMapping() and setMaxReverseListeners(), allowing several local services to be exposed through a single SSH connection.
Simplified and clarified buffer configuration documentation, and removed or consolidated advanced tuning options (channel priority profile, global rate limit) from both docs and examples to streamline usage.
Example and event callback simplification
Removed large transfer event callbacks (onLargeTransferStart, onLargeTransferEnd) from the example code and documentation, focusing the example on core SSH tunnel events and error handling.
Ring buffer refactor and reliability improvements
Refactored DataRingBuffer to support prepending data (writeToFront) for correct FIFO ordering when handling partial writes/reads, and removed the unused PendingData structure and related template specialization.
Improved memory management and error handling in the ring buffer implementation, including safe allocation and cleanup of internal buffers.