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 53b5663 Revert "Unify how to create null frames and packets (cont.)" 53b5663 is described below commit 53b5663462bbfb30904ce8c3ae7a19c203e7a4cf Author: Masakazu Kitajo <mas...@apache.org> AuthorDate: Mon Dec 11 16:03:46 2017 +0900 Revert "Unify how to create null frames and packets (cont.)" This reverts commit eb005d09dbcf00ff574efe69e6225f0d8e01eb4c. --- 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 c80c06d..048d3d2 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 QUICPacketFactory::create_null_packet(); + return QUICPacketUPtr(packet, &QUICPacketDeleter::delete_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 QUICPacketFactory::create_null_packet(); + return QUICPacketUPtr(packet, &QUICPacketDeleter::delete_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 QUICPacketFactory::create_null_packet(); + return QUICPacketUPtr(packet, &QUICPacketDeleter::delete_packet); } void -- To stop receiving notification emails like this one, please contact ['"commits@trafficserver.apache.org" <commits@trafficserver.apache.org>'].