瀏覽代碼

reduce memory consumption of mux.Writer

Darien Raymond 8 年之前
父節點
當前提交
948534f480
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/proxyman/mux/writer.go

+ 1 - 1
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
 }