You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bc...@apache.org on 2015/08/15 22:47:35 UTC
trafficserver git commit: TS-3844: Don't send GOAWAY frame when
receiving a DATA frame on a closed stream
Repository: trafficserver
Updated Branches:
refs/heads/master f8928a7c0 -> 99962a632
TS-3844: Don't send GOAWAY frame when receiving a DATA frame on a closed stream
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/99962a63
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/99962a63
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/99962a63
Branch: refs/heads/master
Commit: 99962a63298a7f36ae9500830b4064ab2fabe747
Parents: f8928a7
Author: Bryan Call <bc...@apache.org>
Authored: Sat Aug 15 13:47:06 2015 -0700
Committer: Bryan Call <bc...@apache.org>
Committed: Sat Aug 15 13:47:06 2015 -0700
----------------------------------------------------------------------
proxy/http2/Http2ConnectionState.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/99962a63/proxy/http2/Http2ConnectionState.cc
----------------------------------------------------------------------
diff --git a/proxy/http2/Http2ConnectionState.cc b/proxy/http2/Http2ConnectionState.cc
index 345a0a1..03e9583 100644
--- a/proxy/http2/Http2ConnectionState.cc
+++ b/proxy/http2/Http2ConnectionState.cc
@@ -81,7 +81,7 @@ rcv_data_frame(Http2ClientSession &cs, Http2ConnectionState &cstate, const Http2
Http2Stream *stream = cstate.find_stream(id);
if (stream == NULL) {
if (id <= cstate.get_latest_stream_id()) {
- return Http2Error(HTTP2_ERROR_CLASS_CONNECTION, HTTP2_ERROR_STREAM_CLOSED);
+ return Http2Error(HTTP2_ERROR_CLASS_STREAM, HTTP2_ERROR_STREAM_CLOSED);
} else {
return Http2Error(HTTP2_ERROR_CLASS_CONNECTION, HTTP2_ERROR_PROTOCOL_ERROR);
}