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

Login: Add StatSvc.SimpleGet: Update tlv and solve constant connection dropping issue #1150

Merged
merged 17 commits into from Apr 3, 2021

Conversation

sandtechnology
Copy link
Collaborator

No description provided.

# 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
# Conflicts:
#	mirai-core/src/commonMain/kotlin/network/handler/QQAndroidBotNetworkHandler.kt
#	mirai-core/src/commonMain/kotlin/network/protocol/packet/login/WtLogin.kt
# Conflicts:
#	mirai-core/src/commonMain/kotlin/network/handler/QQAndroidBotNetworkHandler.kt
#	mirai-core/src/commonMain/kotlin/network/protocol/packet/login/StatSvc.kt
@sandtechnology sandtechnology changed the base branch from dev to fast_login April 3, 2021 10:39
@Him188 Him188 self-requested a review April 3, 2021 10:43
@Him188 Him188 added t:enhancement 类型: 现有功能上的优化 M 优先级: 主要 x:protocol 属性: 协议相关 labels Apr 3, 2021
@Him188 Him188 added this to the 2.6.0 milestone Apr 3, 2021
@Him188 Him188 changed the title Update tlv and solve constant connection dropping issue Login: Update tlv and solve constant connection dropping issue Apr 3, 2021
@Him188 Him188 linked an issue Apr 3, 2021 that may be closed by this pull request
@Him188
Copy link
Member

Him188 commented Apr 3, 2021

HUGE Thanks.

@Him188 Him188 merged commit 8604078 into mamoe:fast_login Apr 3, 2021
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>
@Him188 Him188 changed the title Login: Update tlv and solve constant connection dropping issue Login: Add StatSvc.SimpleGet: Update tlv and solve constant connection dropping issue Apr 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
M 优先级: 主要 t:enhancement 类型: 现有功能上的优化 x:protocol 属性: 协议相关
Projects
None yet
2 participants