This is an automated email from the ASF dual-hosted git repository. maskit 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 eb005d0 Unify how to create null frames and packets (cont.) eb005d0 is described below commit eb005d09dbcf00ff574efe69e6225f0d8e01eb4c Author: Masakazu Kitajo <mas...@apache.org> AuthorDate: Mon Dec 11 15:07:19 2017 +0900 Unify how to create null frames and packets (cont.) --- iocore/net/quic/QUICPacket.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/iocore/net/quic/QUICPacket.cc b/iocore/net/quic/QUICPacket.cc index 048d3d2..c80c06d 100644 --- a/iocore/net/quic/QUICPacket.cc +++ b/iocore/net/quic/QUICPacket.cc @@ -675,7 +675,7 @@ QUICPacketFactory::create(ats_unique_buf buf, size_t len, QUICPacketNumber base_ new (packet) QUICPacket(header, std::move(plain_txt), plain_txt_len); } - return QUICPacketUPtr(packet, &QUICPacketDeleter::delete_packet); + return QUICPacketFactory::create_null_packet(); } QUICPacketUPtr @@ -761,7 +761,7 @@ QUICPacketFactory::_create_unprotected_packet(QUICPacketHeader *header) QUICPacket *packet = quicPacketAllocator.alloc(); new (packet) QUICPacket(header, std::move(cleartext), cleartext_len, false); - return QUICPacketUPtr(packet, &QUICPacketDeleter::delete_packet); + return QUICPacketFactory::create_null_packet(); } QUICPacketUPtr @@ -779,7 +779,7 @@ QUICPacketFactory::_create_encrypted_packet(QUICPacketHeader *header, bool retra new (packet) QUICPacket(header, std::move(cipher_txt), cipher_txt_len, retransmittable); } - return QUICPacketUPtr(packet, &QUICPacketDeleter::delete_packet); + return QUICPacketFactory::create_null_packet(); } void -- To stop receiving notification emails like this one, please contact ['"commits@trafficserver.apache.org" <commits@trafficserver.apache.org>'].