Update libquic

This commit is contained in:
Jason Rhinelander 2023-12-08 21:49:58 -04:00 committed by dr7ana
parent be613734b4
commit 950ebfe2df
3 changed files with 3 additions and 5 deletions

@ -1 +1 @@
Subproject commit fdc8b2a514c3da0012adfcb6a0d08809c1bc5e06
Subproject commit c9271e87eaa2d6bcbdf4e49936fcce2b7bc9e693

View File

@ -192,7 +192,7 @@ namespace llarp
std::optional<int64_t> id) -> std::shared_ptr<oxen::quic::Stream> {
if (id && id == 0)
{
auto s = std::make_shared<oxen::quic::BTRequestStream>(
auto s = e.make_shared<oxen::quic::BTRequestStream>(
c, e, [](oxen::quic::Stream& s, uint64_t error_code) {
log::warning(
logcat,
@ -203,7 +203,7 @@ namespace llarp
register_commands(s);
return s;
}
return std::make_shared<oxen::quic::Stream>(c, e);
return nullptr;
});
}
return ep;

View File

@ -595,8 +595,6 @@ namespace llarp
? _listen_address
: oxen::quic::Address{*paddr, pport ? *pport : DEFAULT_LISTEN_PORT};
log::critical(logcat, "listen_addr:{} \t public_addr:{}", _listen_address, _public_address);
RouterContact::BLOCK_BOGONS = conf.router.block_bogons;
auto& networkConfig = conf.network;