Repository: trafficserver
Updated Branches:
  refs/heads/master 48fadc424 -> f55fdf1c6


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


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

Branch: refs/heads/master
Commit: f55fdf1c639f83208d5cca6f4f2595e4588f2c9d
Parents: 48fadc4
Author: Bryan Call <[email protected]>
Authored: Thu Sep 17 14:19:14 2015 -0700
Committer: Bryan Call <[email protected]>
Committed: Thu Sep 17 14:19:14 2015 -0700

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


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/f55fdf1c/proxy/http2/Http2ClientSession.cc
----------------------------------------------------------------------
diff --git a/proxy/http2/Http2ClientSession.cc 
b/proxy/http2/Http2ClientSession.cc
index af2fe42..ccad11f 100644
--- a/proxy/http2/Http2ClientSession.cc
+++ b/proxy/http2/Http2ClientSession.cc
@@ -345,6 +345,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