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 месец
9seconds
ecba88d2e3
Update to the latest golangci-lint
пре 2 месеци
9seconds
36dad5a2f6
Update golangci-lint
пре 3 година
9seconds
6a19ded78e
Update docs
пре 3 година
9seconds
0274b3436a
Add documentation for ipblocklist
пре 5 година
9seconds
b3112c5c67
Move documentation to init.go
пре 5 година
9seconds
3661fe108d
Add documentation for antireplay package
пре 5 година
9seconds
5d5b77d73b
Tune defaults
пре 5 година
9seconds
10b78322a3
Implement caching dns resolver
пре 5 година
9seconds
0330a0e5cd
Fixes for obfuscated2
пре 5 година
9seconds
b08d945d7c
Add event stream module
пре 5 година
9seconds
cae33a22e6
Make stable bloom filter threadsafe
пре 5 година
9seconds
3dc263d6d7
Add antireplay cache mock
пре 5 година
9seconds
ab1b3b4863
Add antireplay cache
пре 5 година
9seconds
baee322cd7
Reset a project
пре 5 година
9seconds
7a6695f6c4
Update golangci-lint
пре 5 година
9seconds
a47edf08d0
Add possibility to disable antireplay cache
пре 6 година
9seconds
843fc4b70f
Rename module from mtg to github.com/9seconds/mtg
пре 6 година
9seconds
ae479adeaa
Use fastcache instead of ristretto
пре 6 година
9seconds
2bf291bab5
Fix minor lint issue
пре 6 година
9seconds
273aa18367
Rename full path in order to favor modules
пре 6 година
9seconds
34ad883559
Use ristretto instead of bigcache
пре 6 година
9seconds
038b2b200d
Success path for fake tls is implemented
пре 6 година
9seconds
6c7edfb7db
Add new stats metric
пре 6 година
9seconds
d44474012a
Rework antireplay
пре 6 година
9seconds
029245cd16
Correct initialization of antireplay cache
пре 6 година
9seconds
2918ed11e5
Remove juju/errors
пре 6 година
9seconds
2492a47d0a
Direct proxy works
пре 6 година
9seconds
33852ca481
Base prevention of replay attacks on proxy
пре 7 година