Alexey Dolotov
e54d9d60d3
fix: stabilize flaky CI tests
1. Add sync.Mutex to ScoutConnCollected to eliminate data race between
Add()/MarkWrite() in readLoop and learn() iterating results.
Introduce Snapshot() for safe read access.
2. Increase bloom filter test size from 500 to 100000 to prevent
false negatives from random eviction in the stable bloom filter.
3. Use Require().NoError() in TestHTTPSRequest to prevent nil-pointer
panic on resp.Body.Close() when the request fails.
Fixes #425
1 månad sedan
9seconds
ecba88d2e3
Update to the latest golangci-lint
3 månader sedan
9seconds
36dad5a2f6
Update golangci-lint
3 år sedan
9seconds
6a19ded78e
Update docs
3 år sedan
9seconds
0274b3436a
Add documentation for ipblocklist
5 år sedan
9seconds
b3112c5c67
Move documentation to init.go
5 år sedan
9seconds
3661fe108d
Add documentation for antireplay package
5 år sedan
9seconds
5d5b77d73b
Tune defaults
5 år sedan
9seconds
10b78322a3
Implement caching dns resolver
5 år sedan
9seconds
0330a0e5cd
Fixes for obfuscated2
5 år sedan
9seconds
b08d945d7c
Add event stream module
5 år sedan
9seconds
cae33a22e6
Make stable bloom filter threadsafe
5 år sedan
9seconds
3dc263d6d7
Add antireplay cache mock
5 år sedan
9seconds
ab1b3b4863
Add antireplay cache
5 år sedan
9seconds
baee322cd7
Reset a project
5 år sedan
9seconds
7a6695f6c4
Update golangci-lint
5 år sedan
9seconds
a47edf08d0
Add possibility to disable antireplay cache
6 år sedan
9seconds
843fc4b70f
Rename module from mtg to github.com/9seconds/mtg
6 år sedan
9seconds
ae479adeaa
Use fastcache instead of ristretto
6 år sedan
9seconds
2bf291bab5
Fix minor lint issue
6 år sedan
9seconds
273aa18367
Rename full path in order to favor modules
6 år sedan
9seconds
34ad883559
Use ristretto instead of bigcache
6 år sedan
9seconds
038b2b200d
Success path for fake tls is implemented
6 år sedan
9seconds
6c7edfb7db
Add new stats metric
6 år sedan
9seconds
d44474012a
Rework antireplay
6 år sedan
9seconds
029245cd16
Correct initialization of antireplay cache
6 år sedan
9seconds
2918ed11e5
Remove juju/errors
6 år sedan
9seconds
2492a47d0a
Direct proxy works
6 år sedan
9seconds
33852ca481
Base prevention of replay attacks on proxy
7 år sedan