-
Notifications
You must be signed in to change notification settings - Fork 378
Harden ACE removal networking and OpenSSL 3 compatibility #455
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
Changes from all commits
3d968b4
3026a3c
e2dd63f
c13d847
c42a6ea
8ad2efb
bb0d9aa
282ff3a
4079fee
264125d
76c3989
28e62f9
d7a687f
9cde1a7
1f00877
9b9e756
3a1d673
dfcb4c3
c2841ed
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -147,7 +147,7 @@ bool WorldSessionFilter::Process(WorldPacket* packet) | |
| /// WorldSession constructor | ||
| WorldSession::WorldSession(uint32 id, std::shared_ptr<WorldSocket> sock, AccountTypes sec, time_t mute_time, LocaleConstant locale) | ||
| : m_muteTime(mute_time), | ||
| _player(NULL), m_Socket(std::move(sock)), _security(sec), _accountId(id), _warden(NULL), _build(0), _logoutTime(0), | ||
| _player(NULL), m_OwningSocket(sock), m_Socket(std::move(sock)), _security(sec), _accountId(id), _warden(NULL), _build(0), _logoutTime(0), | ||
| m_inQueue(false), m_playerLoading(false), m_playerLogout(false), m_playerRecentlyLogout(false), m_playerSave(false), | ||
| m_sessionDbcLocale(sWorld.GetAvailableDbcLocale(locale)), m_sessionDbLocaleIndex(sObjectMgr.GetIndexForLocale(locale)), | ||
| m_latency(0), m_clientTimeDelay(0), m_tutorialState(TUTORIALDATA_UNCHANGED), m_npcWatchLastGuid() | ||
|
|
@@ -161,6 +161,11 @@ WorldSession::WorldSession(uint32 id, std::shared_ptr<WorldSocket> sock, Account | |
| /// WorldSession destructor | ||
| WorldSession::~WorldSession() | ||
| { | ||
| if (std::shared_ptr<WorldSocket> socket = m_OwningSocket.lock()) | ||
| { | ||
| socket->DetachSessionAndWait(); | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
When a Useful? React with 👍 / 👎. |
||
| } | ||
|
|
||
| ///- unload player if not unloaded | ||
| if (_player) | ||
| { | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because this new option defaults to
OFFand neither the Windows nor Linux workflow configure commands pass-DBUILD_TESTING=ONor runctest, the regression targets added in this change are skipped by normal PR CI. That leaves the IOCP/provider/lease coverage described by the patch unused unless a developer opts in locally; enable the option in CI or default it on when the required dependencies are present.Useful? React with 👍 / 👎.