mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-11-13 16:43:34 +00:00
reduce memory consumption of frame meta
This commit is contained in:
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…
x
Reference in New Issue
Block a user