diff options
author | GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> | 2022-06-16 01:37:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-16 01:37:29 +0200 |
commit | 76864937f3f72ac1fb7bc29ea92864d31c05227d (patch) | |
tree | 02aa3b9b30678bf9d8a027345014831861577def /NorthstarDedicatedTest/ExploitFixes.cpp | |
parent | 7f70a1e46b35f3e5731ada00040096be51ac05c6 (diff) | |
download | NorthstarLauncher-76864937f3f72ac1fb7bc29ea92864d31c05227d.tar.gz NorthstarLauncher-76864937f3f72ac1fb7bc29ea92864d31c05227d.zip |
Attempt reconnect in case of DUPLICATE_SERVER (#187)
* Attempt reconnect in case of DUPLICATE_SERVER
If gameserver receives DUPLICATE_SERVER response it will retry the auth
request after a timeout of 10 seconds.
Retries will stop after 10 attempts.
Co-authored-by: Emma Miler <27428383+emma-miler@users.noreply.github.com>
* Fix formatting
* Move comment
So that it refers to the right line
* Retry 10 times instead of just once
* Only check retrycounter for DUPLICATE_SERVER error
Co-authored-by: Emma Miler <27428383+emma-miler@users.noreply.github.com>
Diffstat (limited to 'NorthstarDedicatedTest/ExploitFixes.cpp')
0 files changed, 0 insertions, 0 deletions