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 2017/12/15 05:09:06 UTC

[trafficserver] branch quic-latest updated: Set omit-connection-id flag correctly

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 1a37dc6  Set omit-connection-id flag correctly
1a37dc6 is described below

commit 1a37dc6cad043a66af512de27a7161efb5cde1f6
Author: Masakazu Kitajo <ma...@apache.org>
AuthorDate: Fri Dec 15 14:07:05 2017 +0900

    Set omit-connection-id flag correctly
---
 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 2473f04..c4f17e1 100644
--- a/iocore/net/quic/QUICPacket.cc
+++ b/iocore/net/quic/QUICPacket.cc
@@ -445,7 +445,7 @@ QUICPacketShortHeader::store(uint8_t *buf, size_t *len) const
   size_t n;
   *len   = 0;
   buf[0] = 0x00;
-  if (this->_has_connection_id) {
+  if (!this->_has_connection_id) {
     buf[0] += 0x40;
   }
   if (this->_key_phase == QUICKeyPhase::PHASE_1) {

-- 
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].