-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.0版本,如何设置Ip黑名单 #766
Comments
我想实现的效果是,针对特定ip,限制他每分钟的连接次数。因为现在有一些tcp客户端频繁的连接然后断开,导致资源耗尽。 |
大佬,有点没看懂啊,屏蔽ip是写在哪个方法里面? |
能给一个简单的示例么? |
现在遇到一个棘手的问题,我使用supersocket编写的tcp服务端,在大量客户端重连,然后间隔0-1秒后又断开的情况,导致方法:
这句代码报错: var client = await listenSocket.AcceptAsync().ConfigureAwait(false); |
public virtual ValueTask RegisterSession(IAppSession session) |
这句代码报错: var client = await listenSocket.AcceptAsync().ConfigureAwait(false); |
1.6版本看到有示例,2.0版本没有找到
The text was updated successfully, but these errors were encountered: