mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 03:37:49 +02:00
fixes #1124 and calls the ready callbacks if the tunnel gets ready and no timeout is set
This commit is contained in:
parent
56e76ec59f
commit
46283dc0ea
2 changed files with 14 additions and 12 deletions
|
@ -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
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue