mirror of
https://github.com/wyx2685/V2bX.git
synced 2026-02-05 05:00:08 +00:00
update example, add realtime option, fix ip limit bug for packet protocol
This commit is contained in:
@@ -26,7 +26,7 @@ func TestConnLimiter_DelConnCount(t *testing.T) {
|
||||
func TestConnLimiter_ClearPacketOnlineIP(t *testing.T) {
|
||||
t.Log(c.AddConnCount("1", "1", false))
|
||||
t.Log(c.AddConnCount("1", "2", false))
|
||||
c.ClearPacketOnlineIP()
|
||||
c.ClearOnlineIP()
|
||||
t.Log(c.AddConnCount("1", "2", true))
|
||||
c.DelConnCount("1", "2")
|
||||
t.Log(c.AddConnCount("1", "1", false))
|
||||
|
||||
Reference in New Issue
Block a user