mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-03 08:46:46 +00:00
restores shutdownStarted_
This commit is contained in:
@@ -120,12 +120,13 @@ ConnectAttempt::tryAsyncShutdown()
|
||||
strand_.running_in_this_thread(),
|
||||
"ripple::ConnectAttempt::tryAsyncShutdown : strand in this thread");
|
||||
|
||||
if (!shutdown_)
|
||||
if (!shutdown_ || shutdownStarted_)
|
||||
return;
|
||||
|
||||
if (ioPending_)
|
||||
return;
|
||||
|
||||
shutdownStarted_ = true;
|
||||
setTimer();
|
||||
|
||||
// gracefully shutdown the SSL socket, performing a shutdown handshake
|
||||
|
||||
@@ -61,6 +61,7 @@ private:
|
||||
request_type req_;
|
||||
bool shutdown_ = false;
|
||||
bool ioPending_ = false;
|
||||
bool shutdownStarted_ = false;
|
||||
|
||||
public:
|
||||
ConnectAttempt(
|
||||
|
||||
Reference in New Issue
Block a user