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
Refresh Token when exchanging and solve connection dropping issue #1128
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Conflicts: # mirai-core/src/commonMain/kotlin/network/protocol/packet/login/wtlogin/WtLogin10.kt
# Conflicts: # mirai-core/src/commonMain/kotlin/network/protocol/packet/login/WtLogin.kt
Him188
approved these changes
Mar 30, 2021
This was
linked to
issues
Mar 30, 2021
Closed
A HUGE thanks! |
Close #328 |
Closed
Him188
added a commit
that referenced
this pull request
Apr 3, 2021
* wtlogin10 * Fast login Packet Implement (#1125) * Correct group syncing logic again, Fix #1120 * Implement fast login packet, thanks to MiraiGo * Delete duplicated tlv * Refresh Token when exchanging and solve connection dropping issue (#1128) * Correct group syncing logic again, Fix #1120 * Implement fast login packet, thanks to MiraiGo * Delete duplicated tlv * Schedule token exchanging every 10 minutes, solve connection dropping issue * Refresh Token when exchanging, and correct token expire time * Remove useless params for doFastLogin * Fix missed register and tgt update (#1131) * Correct group syncing logic again, Fix #1120 * Implement fast login packet, thanks to MiraiGo * Delete duplicated tlv * Schedule token exchanging every 10 minutes, solve connection dropping issue * Refresh Token when exchanging, and correct token expire time * Remove useless params for doFastLogin * Fix missed register and tgt update * Add login lock * Add login lock * Remove key refresh * Remove heartbeat period override * Login: Update tlv and solve constant connection dropping issue (#1150) * Correct group syncing logic again, Fix #1120 * Implement fast login packet, thanks to MiraiGo * Delete duplicated tlv * Schedule token exchanging every 10 minutes, solve connection dropping issue * Refresh Token when exchanging, and correct token expire time * Remove useless params for doFastLogin * Fix missed register and tgt update * Update tlv, add tlv11d and tlv11a decoding * Add stat heartbeat, solve constant connection dropping issue * Update apidump for new configuration * Add comment for statHeartbeatPeriodMillis * Change old naming * Add since version Co-authored-by: Him188 <Him188@mamoe.net> Co-authored-by: sandtechnology <20417547+sandtechnology@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.