-
Notifications
You must be signed in to change notification settings - Fork 10
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
添加KeepRetry值校验 #56
添加KeepRetry值校验 #56
Conversation
添加KeepRetry值校验,避免KeepRetry为空或者小于等于零。
有个问题,当keepRetry值为空的时候,是不是说明网络已经被断掉了呢? |
反正我这没断网也返回空....... |
我现在都还是返回的空值,但是我却可以发出GitHub的评论 |
[06:12:03 295] INFO [com.rsplwe.esurfing.Client] (Client:80) - The login has been authorized. 感觉其实当heartbeat的KeepRetry为空时,可以直接沿用login时候的KeepRetry。 |
可以试着把返回的内容打印出来,看是缺了什么
|
算了,折腾不起,我这边登录一次就冻结半小时.....简单粗暴,直接添加KeepRetry检验得了,你这个程序注销有问题.... [06:12:03 294] INFO [com.rsplwe.esurfing.Client] (Client:170) - Keep Url: http://14.146.227.142:7001/keep.cgi |
我的#56 怎么被移除了 |
根据逆向后的程序逻辑,无keep-retry的情况不存在 |
添加KeepRetry值校验,避免KeepRetry为空或者小于等于零。