VLESS Multiplex (mux.cool): Replace MutexWriter with buf.BufferedWriter (#7359)

Fixes https://github.com/XTLS/Xray-core/pull/7355#issuecomment-6738888441

---------

Co-authored-by: Medium1992 <Medium1992@users.noreply.github.com>
This commit is contained in:
风扇滑翔翼
2026-11-10 22:13:21 +00:00
committed by GitHub
co-authored by Medium1992
parent 676eaf66f8
commit c43ee98ec7
4 changed files with 10 additions and 15 deletions
+4
View File
@@ -236,6 +236,10 @@ func (w *BufferedWriter) Close() error {
return common.Close(w.writer)
}
func (w *BufferedWriter) Interrupt() {
common.Interrupt(w.writer)
}
// SequentialWriter is a Writer that writes MultiBuffer sequentially into the underlying io.Writer.
type SequentialWriter struct {
io.Writer