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 2018/08/28 05:44:14 UTC
[trafficserver] branch quic-latest updated: Fix
QUICSendStreamState::is_allowed_to_send()
This is an automated email from the ASF dual-hosted git repository.
masaori 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 33278e7 Fix QUICSendStreamState::is_allowed_to_send()
33278e7 is described below
commit 33278e7efb767f3067938c0b8cb7a2b4981a0ce7
Author: Masaori Koshiba <ma...@apache.org>
AuthorDate: Tue Aug 28 14:43:50 2018 +0900
Fix QUICSendStreamState::is_allowed_to_send()
---
iocore/net/quic/QUICStreamState.cc | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/iocore/net/quic/QUICStreamState.cc b/iocore/net/quic/QUICStreamState.cc
index 8fb3972..a3605d9 100644
--- a/iocore/net/quic/QUICStreamState.cc
+++ b/iocore/net/quic/QUICStreamState.cc
@@ -232,19 +232,13 @@ QUICSendStreamState::is_allowed_to_send(const QUICFrame &frame) const
}
break;
case State::DataSent:
- if (type != QUICFrameType::STREAM || type != QUICFrameType::STREAM_BLOCKED || type != QUICFrameType::RST_STREAM) {
+ if (type == QUICFrameType::RST_STREAM) {
return true;
}
break;
case State::DataRecvd:
- if (type != QUICFrameType::STREAM || type != QUICFrameType::STREAM_BLOCKED || type != QUICFrameType::RST_STREAM) {
- return true;
- }
break;
case State::ResetSent:
- if (type != QUICFrameType::STREAM || type != QUICFrameType::STREAM_BLOCKED || type != QUICFrameType::RST_STREAM) {
- return true;
- }
break;
case State::ResetRecvd:
break;