You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ma...@apache.org on 2018/08/27 01:09:39 UTC
[trafficserver] branch quic-latest updated: Fixes memleaking in
handshake
This is an automated email from the ASF dual-hosted git repository.
masaori pushed a commit to branch quic-latest
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/quic-latest by this push:
new 0d5f86e Fixes memleaking in handshake
0d5f86e is described below
commit 0d5f86e310dcb8cb983dada02d9848b2de78a231
Author: scw00 <sc...@apache.org>
AuthorDate: Fri Aug 24 15:19:25 2018 +0800
Fixes memleaking in handshake
---
iocore/net/quic/QUICHandshake.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/iocore/net/quic/QUICHandshake.cc b/iocore/net/quic/QUICHandshake.cc
index 637b8cc..4eaef4c 100644
--- a/iocore/net/quic/QUICHandshake.cc
+++ b/iocore/net/quic/QUICHandshake.cc
@@ -400,7 +400,7 @@ QUICHandshake::_load_local_server_transport_parameters(QUICVersion negotiated_ve
tp->set(QUICTransportParameterId::INITIAL_MAX_UNI_STREAMS, params->initial_max_uni_streams_in());
// this->_local_transport_parameters.add(QUICTransportParameterId::MAX_PACKET_SIZE, {{0x00, 0x00}, 2});
- this->_local_transport_parameters = std::unique_ptr<QUICTransportParameters>(tp);
+ this->_local_transport_parameters = std::unique_ptr<QUICTransportParametersInEncryptedExtensions>(tp);
}
void
@@ -419,7 +419,7 @@ QUICHandshake::_load_local_client_transport_parameters(QUICVersion initial_versi
tp->set(QUICTransportParameterId::INITIAL_MAX_BIDI_STREAMS, params->initial_max_bidi_streams_out());
tp->set(QUICTransportParameterId::INITIAL_MAX_UNI_STREAMS, params->initial_max_uni_streams_out());
- this->_local_transport_parameters = std::unique_ptr<QUICTransportParameters>(tp);
+ this->_local_transport_parameters = std::unique_ptr<QUICTransportParametersInClientHello>(tp);
}
int