mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
fixes #1124 and calls the ready callbacks if the tunnel gets ready and no timeout is set
This commit is contained in:
@@ -67,8 +67,11 @@ namespace client
|
||||
std::mutex m_HandlersMutex;
|
||||
std::vector<std::pair<ReadyCallback, uint32_t> > m_ReadyCallbacks;
|
||||
boost::asio::deadline_timer m_ReadyTimer;
|
||||
bool m_ReadyTimerTriggered;
|
||||
uint32_t m_ConnectTimeout;
|
||||
|
||||
const size_t NEVER_TIMES_OUT = 0;
|
||||
|
||||
public:
|
||||
bool isUpdated; // transient, used during reload only
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user