mirror of
https://github.com/dalbodeule/hop-gate.git
synced 2025-12-12 06:40:11 +09:00
- Updated `Decode` to wrap `io.Reader` in a sufficiently large `bufio.Reader` when handling DTLS sessions, preventing "buffer is too small" errors. - Enhanced length-prefix reading logic to ensure safe handling of Protobuf envelopes during DTLS stream processing. - Clarified comments and fixed minor formatting inconsistencies in Protobuf codec documentation.