You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2017/11/10 05:16:41 UTC
[trafficserver] branch 7.1.x updated: Send RST_STREAM frame when
deleting a stream if it is not CLOSED state
This is an automated email from the ASF dual-hosted git repository.
zwoop pushed a commit to branch 7.1.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/7.1.x by this push:
new f160075 Send RST_STREAM frame when deleting a stream if it is not CLOSED state
f160075 is described below
commit f16007566a5ba53d78705783bf7eff5c320b04da
Author: Masakazu Kitajo <ma...@apache.org>
AuthorDate: Wed Nov 8 09:12:22 2017 +0900
Send RST_STREAM frame when deleting a stream if it is not CLOSED state
(cherry picked from commit bc3ecafb9f67243a152f00affe6af4dff752d7a0)
---
proxy/http2/Http2ConnectionState.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/proxy/http2/Http2ConnectionState.cc b/proxy/http2/Http2ConnectionState.cc
index 2e684c4..8337615 100644
--- a/proxy/http2/Http2ConnectionState.cc
+++ b/proxy/http2/Http2ConnectionState.cc
@@ -1118,7 +1118,7 @@ Http2ConnectionState::delete_stream(Http2Stream *stream)
}
}
- if (stream->get_state() == Http2StreamState::HTTP2_STREAM_STATE_HALF_CLOSED_LOCAL) {
+ if (stream->get_state() != Http2StreamState::HTTP2_STREAM_STATE_CLOSED) {
send_rst_stream_frame(stream->get_id(), Http2ErrorCode::HTTP2_ERROR_NO_ERROR);
}
--
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].