We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd05409 commit c231e6fCopy full SHA for c231e6f
src/quic/node_quic_session.cc
@@ -31,6 +31,7 @@
31
#include "uv.h"
32
33
#include <algorithm>
34
+#include <memory>
35
#include <vector>
36
#include <string>
37
#include <utility>
@@ -1621,12 +1622,12 @@ QuicSession::QuicSession(
1621
1622
PushListener(&default_listener_);
1623
set_connection_id_strategy(RandomConnectionIDStrategy);
1624
set_preferred_address_strategy(preferred_address_strategy);
- crypto_context_.reset(
1625
- new QuicCryptoContext(
+ crypto_context_ = std::make_unique<QuicCryptoContext>(
1626
+
1627
this,
1628
secure_context,
1629
side,
- options));
1630
+ options);
1631
application_.reset(SelectApplication(this));
1632
1633
wrap->DefineOwnProperty(
0 commit comments