mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
rldp2 support in rldp-http-proxy (#608)
Co-authored-by: SpyCheese <mikle98@yandex.ru>
This commit is contained in:
parent
7a78ea33b7
commit
c369127ae0
8 changed files with 220 additions and 64 deletions
|
@ -92,6 +92,8 @@ class RldpIn : public RldpImpl {
|
|||
|
||||
void get_conn_ip_str(adnl::AdnlNodeIdShort l_id, adnl::AdnlNodeIdShort p_id, td::Promise<td::string> promise) override;
|
||||
|
||||
void set_default_mtu(td::uint64 mtu) override;
|
||||
|
||||
RldpIn(td::actor::ActorId<adnl::AdnlPeerTable> adnl) : adnl_(adnl) {
|
||||
}
|
||||
|
||||
|
@ -107,6 +109,8 @@ class RldpIn : public RldpImpl {
|
|||
|
||||
std::set<adnl::AdnlNodeIdShort> local_ids_;
|
||||
|
||||
td::optional<td::uint64> custom_default_mtu_;
|
||||
|
||||
td::actor::ActorId<RldpConnectionActor> create_connection(adnl::AdnlNodeIdShort src, adnl::AdnlNodeIdShort dst);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue