mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 01:57:12 -05:00
reduce memory consumption of mux.Writer
This commit is contained in:
parent
9df5ac6e4f
commit
948534f480
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user