Repository: trafficserver
Updated Branches:
  refs/heads/6.0.x 27f8e2cda -> 6637dbac8


TS-3921: HTTP/2 send protocol error on invalid data frame
Need to return 0 after sending goaway

(cherry picked from commit f55fdf1c639f83208d5cca6f4f2595e4588f2c9d)


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/6637dbac
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/6637dbac
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/6637dbac

Branch: refs/heads/6.0.x
Commit: 6637dbac8c8fe37713a838204fb8c160199b7c83
Parents: 3079ab3
Author: Bryan Call <[email protected]>
Authored: Thu Sep 17 14:19:14 2015 -0700
Committer: Bryan Call <[email protected]>
Committed: Thu Nov 19 16:33:11 2015 -0800

----------------------------------------------------------------------
 proxy/http2/Http2ClientSession.cc | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/6637dbac/proxy/http2/Http2ClientSession.cc
----------------------------------------------------------------------
diff --git a/proxy/http2/Http2ClientSession.cc 
b/proxy/http2/Http2ClientSession.cc
index 6267ffc..3b6ecff 100644
--- a/proxy/http2/Http2ClientSession.cc
+++ b/proxy/http2/Http2ClientSession.cc
@@ -344,6 +344,7 @@ Http2ClientSession::state_start_frame_read(int event, void 
*edata)
       if (!this->connection_state.is_state_closed()) {
         this->connection_state.send_goaway_frame(this->current_hdr.streamid, 
HTTP2_ERROR_PROTOCOL_ERROR);
       }
+      return 0;
     }
 
     // If we know up front that the payload is too long, nuke this connection.

Reply via email to