mirror of https://github.com/v2ray/v2ray-core
reduce memory consumption of frame meta
parent
7f4296cd78
commit
aa5e06a26e
|
@ -63,9 +63,9 @@ n bytes - address
|
||||||
|
|
||||||
type FrameMetadata struct {
|
type FrameMetadata struct {
|
||||||
SessionID uint16
|
SessionID uint16
|
||||||
SessionStatus SessionStatus
|
|
||||||
Target net.Destination
|
Target net.Destination
|
||||||
Option Option
|
Option Option
|
||||||
|
SessionStatus SessionStatus
|
||||||
}
|
}
|
||||||
|
|
||||||
func (f FrameMetadata) AsSupplier() buf.Supplier {
|
func (f FrameMetadata) AsSupplier() buf.Supplier {
|
||||||
|
|
Loading…
Reference in New Issue