1
1
Fork 0
mirror of https://github.com/oxen-io/lokinet synced 2023-12-14 06:53:00 +01:00

breaking testnet today i suppose pt 3: the re-breakening

This commit is contained in:
dan 2023-03-02 14:44:41 -08:00
parent 63f948a4c2
commit 6484d627d2
2 changed files with 2 additions and 1 deletions

View file

@ -114,6 +114,7 @@ main(int argc, char* argv[])
std::cerr << "tcp_connect shutting down...\n";
lokinet_close_stream(stream_res.stream_id, ctx);
std::this_thread::sleep_for(std::chrono::milliseconds{1000});
return 0;
}

View file

@ -465,7 +465,7 @@ namespace llarp::quic
auto result = std::tuple<ngtcp2_settings, ngtcp2_transport_params, ngtcp2_callbacks>{};
auto& [settings, tparams, cb] = result;
cb.recv_crypto_data = recv_crypto_data;
//cb.handshake_completed = handshake_completed;
cb.handshake_completed = handshake_completed;
cb.encrypt = encrypt;
cb.decrypt = decrypt;
cb.hp_mask = hp_mask;