mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-11 04:36:37 -05:00
fix buffer settings
This commit is contained in:
parent
8c08ca52eb
commit
200ce404c6
@ -53,6 +53,11 @@ func (p *Policy) overrideWith(another *Policy) {
|
||||
p.Stats = new(Policy_Stats)
|
||||
*p.Stats = *another.Stats
|
||||
}
|
||||
if another.Buffer != nil {
|
||||
p.Buffer = &Policy_Buffer{
|
||||
Connection: another.Buffer.Connection,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// ToCorePolicy converts this Policy to core.Policy.
|
||||
|
Loading…
Reference in New Issue
Block a user