Revert "VLESS Multiplex (mux.cool): Apply MutexWriter to avoid concurrent writes to the underlayer"

This reverts commit 5745dea2b4.
This commit is contained in:
Fangliding
2026-11-09 20:19:53 +08:00
parent 676eaf66f8
commit bedf31970c
3 changed files with 1 additions and 15 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ type ServerWorker struct {
func NewServerWorker(ctx context.Context, d routing.Dispatcher, link *transport.Link) (*ServerWorker, error) {
worker := &ServerWorker{
dispatcher: d,
link: &transport.Link{Reader: link.Reader, Writer: &MutexWriter{Writer: link.Writer}},
link: link,
sessionManager: NewSessionManager(),
done: done.New(),
timer: time.NewTicker(60 * time.Second),