mirror of
https://github.com/v2fly/v2ray-core
synced 2024-02-27 03:18:06 +00:00
fix buffer settings
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user