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 ac6a84d draft-11 uses 2 bits but not 3 for short header type field ac6a84d is described below commit ac6a84d294f6177ca9ebb882475017183ee056da Author: Masakazu Kitajo <mas...@apache.org> AuthorDate: Fri May 18 11:33:21 2018 +0900 draft-11 uses 2 bits but not 3 for short header type field --- iocore/net/quic/QUICPacket.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iocore/net/quic/QUICPacket.cc b/iocore/net/quic/QUICPacket.cc index f8171fc..6d27cc3 100644 --- a/iocore/net/quic/QUICPacket.cc +++ b/iocore/net/quic/QUICPacket.cc @@ -390,7 +390,7 @@ QUICPacketShortHeader::_packet_number_len() const { QUICPacketShortHeaderType type; if (this->_buf) { - type = static_cast<QUICPacketShortHeaderType>(this->_buf.get()[0] & 0x07); + type = static_cast<QUICPacketShortHeaderType>(this->_buf.get()[0] & 0x03); } else { type = this->_packet_number_type; } -- To stop receiving notification emails like this one, please contact mas...@apache.org.