mirror of https://github.com/cbeuw/Cloak
Pointers to credit value should point to two different variables
This commit is contained in:
parent
1ab2d5fafe
commit
797062aea9
|
|
@ -177,8 +177,9 @@ start:
|
|||
rand.Seed(time.Now().UnixNano())
|
||||
sessionID := rand.Uint32()
|
||||
sta.SetSessionID(sessionID)
|
||||
var UNLIMITED int64 = 1e12
|
||||
valve := mux.MakeValve(1e12, 1e12, &UNLIMITED, &UNLIMITED)
|
||||
var UNLIMITED_DOWN int64 = 1e15
|
||||
var UNLIMITED_UP int64 = 1e15
|
||||
valve := mux.MakeValve(1e12, 1e12, &UNLIMITED_DOWN, &UNLIMITED_UP)
|
||||
obfs := mux.MakeObfs(sta.UID)
|
||||
deobfs := mux.MakeDeobfs(sta.UID)
|
||||
sesh := mux.MakeSession(sessionID, valve, obfs, deobfs, util.ReadTLS)
|
||||
|
|
|
|||
Loading…
Reference in New Issue