From 948534f4808cb535bd6bdfbfdacff74871cd1b3f Mon Sep 17 00:00:00 2001 From: Darien Raymond <admin@v2ray.com> Date: Sat, 21 Oct 2017 20:21:51 +0200 Subject: [PATCH] reduce memory consumption of mux.Writer --- app/proxyman/mux/writer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/proxyman/mux/writer.go b/app/proxyman/mux/writer.go index 47c419145..07c7f0816 100644 --- a/app/proxyman/mux/writer.go +++ b/app/proxyman/mux/writer.go @@ -10,9 +10,9 @@ import ( ) type Writer struct { - id uint16 dest net.Destination writer buf.Writer + id uint16 followup bool transferType protocol.TransferType }