mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Reinit ADNL (#586)
* Fix dht queries in AdnlPeerPair * Don't use adnl channel if peer does not respond --------- Co-authored-by: SpyCheese <mikle98@yandex.ru>
This commit is contained in:
parent
9835ac8af2
commit
adf67aa869
2 changed files with 15 additions and 4 deletions
|
@ -254,6 +254,9 @@ class AdnlPeerPairImpl : public AdnlPeerPair {
|
|||
td::Timestamp next_db_update_at_ = td::Timestamp::never();
|
||||
td::Timestamp retry_send_at_ = td::Timestamp::never();
|
||||
|
||||
td::Timestamp last_received_packet_ = td::Timestamp::never();
|
||||
td::Timestamp try_reinit_at_ = td::Timestamp::never();
|
||||
|
||||
bool has_reverse_addr_ = false;
|
||||
td::Timestamp request_reverse_ping_after_ = td::Timestamp::now();
|
||||
bool request_reverse_ping_active_ = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue