FreeIM icon indicating copy to clipboard operation
FreeIM copied to clipboard

前端设置心跳检测,30秒后重连token失效

Open guipie opened this issue 4 years ago • 2 comments

请问一下,token失效时间在哪配置的? image

guipie avatar Mar 11 '21 15:03 guipie

每次重连都是通过生成新的 token 才行

这个有效时间写死的值,正常够用

如果是断点调试,是很容易超时

2881099 avatar Mar 12 '21 01:03 2881099

好的,token失效了或者拿一个错误的token一直连 ,为了安全 怎么让客户端断开请求连接
Duplicate of #32#

guipie avatar Mar 12 '21 16:03 guipie