mirror of
https://github.com/XTLS/Xray-core.git
synced 2026-05-15 02:19:02 +00:00
Improve comment clarity per code review
Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
This commit is contained in:
+1
-1
@@ -262,7 +262,7 @@ func (w *VisionReader) ReadMultiBuffer() (buf.MultiBuffer, error) {
|
||||
buffer, _ = buf.MergeMulti(buffer, inputBuffer)
|
||||
}
|
||||
// Do not read from rawInput - it contains encrypted outer TLS records that would corrupt the stream
|
||||
// Just clear the buffers to release memory
|
||||
// Clear the buffers to release memory
|
||||
*w.input = bytes.Reader{} // release memory
|
||||
w.input = nil
|
||||
*w.rawInput = bytes.Buffer{} // release memory
|
||||
|
||||
Reference in New Issue
Block a user