Repository: trafficserver Updated Branches: refs/heads/6.0.x 84cfe45c4 -> ed8e7a4b3
TS-3844: Don't send GOAWAY frame when receiving a DATA frame on a closed stream (cherry picked from commit 99962a63298a7f36ae9500830b4064ab2fabe747) Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/ed8e7a4b Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/ed8e7a4b Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/ed8e7a4b Branch: refs/heads/6.0.x Commit: ed8e7a4b3c050ea45158be8a31c76cb4bca4a921 Parents: 84cfe45 Author: Bryan Call <[email protected]> Authored: Sat Aug 15 13:47:06 2015 -0700 Committer: Bryan Call <[email protected]> Committed: Tue Aug 25 13:11:38 2015 -0700 ---------------------------------------------------------------------- proxy/http2/Http2ConnectionState.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ed8e7a4b/proxy/http2/Http2ConnectionState.cc ---------------------------------------------------------------------- diff --git a/proxy/http2/Http2ConnectionState.cc b/proxy/http2/Http2ConnectionState.cc index 3d94dfd..311e508 100644 --- a/proxy/http2/Http2ConnectionState.cc +++ b/proxy/http2/Http2ConnectionState.cc @@ -80,7 +80,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); }
