mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-07-27 12:24:14 +00:00
Reverse: portal-worker should not be closed before making sure there is at least one other active worker (#4869)
This commit is contained in:
parent
308f8a7459
commit
b065595f58
3 changed files with 21 additions and 9 deletions
|
@ -9,6 +9,7 @@ import (
|
|||
|
||||
func (c *Control) FillInRandom() {
|
||||
randomLength := dice.Roll(64)
|
||||
randomLength++
|
||||
c.Random = make([]byte, randomLength)
|
||||
io.ReadFull(rand.Reader, c.Random)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue