1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-10-13 04:24:03 -04:00

cleanup session history

This commit is contained in:
Darien Raymond
2018-02-07 16:35:22 +01:00
parent 8b83bf2283
commit a1ae4aa515
3 changed files with 19 additions and 31 deletions

View File

@@ -46,7 +46,7 @@ func TestRequestSerialization(t *testing.T) {
buffer2.Append(buffer.Bytes())
ctx, cancel := context.WithCancel(context.Background())
sessionHistory := NewSessionHistory(ctx)
sessionHistory := NewSessionHistory()
userValidator := vmess.NewTimedUserValidator(ctx, protocol.DefaultIDHash)
userValidator.Add(user)