Skip to content
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

fix nil pointer dereference caused by nil 'cs' #2440

Merged
merged 4 commits into from
Oct 1, 2023
Merged

Commits on Sep 19, 2023

  1. fix: nil pointer dereference caused by nil 'cs'

    修复刷新 token 时若当前签名服务不可用而主签名服务可用会导致panic的问题。
    btw, energy 出现decode error时打印出导致错误的数据内容
    1umine committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    a77a3d1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d4eff17 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2023

  1. fix(qsign): 刷新token提示未初始化

    修复在qsign崩溃重启前请求了签名服务器导致当前签名服务器被标记为不可用(`ss.set(nil)`),
    从而不会再执行sign请求(除非有其他请求签名服务器的操作)
    这可能导致下一次刷新token提示uin is not registered或者提示未初始化
    1umine committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    130efa4 View commit details
    Browse the repository at this point in the history
  2. update qsign.go

    1umine committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    3dbd3e0 View commit details
    Browse the repository at this point in the history