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
преди 3 месеца
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 години