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 2019/01/24 02:18:28 UTC

[trafficserver] branch quic-latest updated: Fix stream type check

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 0648132  Fix stream type check
0648132 is described below

commit 0648132e9ba3399106ede3115ff57d9397127288
Author: Masakazu Kitajo <ma...@apache.org>
AuthorDate: Thu Jan 24 11:17:58 2019 +0900

    Fix stream type check
---
 iocore/net/quic/QUICStream.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/iocore/net/quic/QUICStream.cc b/iocore/net/quic/QUICStream.cc
index fd46d4a..1cc0c1f 100644
--- a/iocore/net/quic/QUICStream.cc
+++ b/iocore/net/quic/QUICStream.cc
@@ -91,7 +91,7 @@ QUICStream::connection_info() const
 bool
 QUICStream::is_bidirectional() const
 {
-  return this->_id < 0x02;
+  return (this->_id & 0x03) < 0x02;
 }
 
 QUICOffset