Prechádzať zdrojové kódy

reduce memory consumption of mux.Writer

Darien Raymond 8 rokov pred
rodič
commit
948534f480
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      app/proxyman/mux/writer.go

+ 1 - 1
app/proxyman/mux/writer.go

@@ -10,9 +10,9 @@ import (
 )
 )
 
 
 type Writer struct {
 type Writer struct {
-	id           uint16
 	dest         net.Destination
 	dest         net.Destination
 	writer       buf.Writer
 	writer       buf.Writer
+	id           uint16
 	followup     bool
 	followup     bool
 	transferType protocol.TransferType
 	transferType protocol.TransferType
 }
 }