Repository: trafficserver
Updated Branches:
  refs/heads/master 7b467783d -> fc77df964


TS-3843: Remove unnecessary null check

This closes #332


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

Branch: refs/heads/master
Commit: fc77df9647b6194e8f90510bfaecc89e8d732ea5
Parents: 7b46778
Author: Masakazu Kitajo <[email protected]>
Authored: Sat Nov 14 12:32:33 2015 -0800
Committer: Bryan Call <[email protected]>
Committed: Sat Nov 14 12:32:33 2015 -0800

----------------------------------------------------------------------
 proxy/http2/Http2ConnectionState.cc | 4 ----
 1 file changed, 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/fc77df96/proxy/http2/Http2ConnectionState.cc
----------------------------------------------------------------------
diff --git a/proxy/http2/Http2ConnectionState.cc 
b/proxy/http2/Http2ConnectionState.cc
index 54e97f8..39d21f6 100644
--- a/proxy/http2/Http2ConnectionState.cc
+++ b/proxy/http2/Http2ConnectionState.cc
@@ -628,10 +628,6 @@ rcv_continuation_frame(Http2ClientSession &cs, 
Http2ConnectionState &cstate, con
     return Http2Error(HTTP2_ERROR_CLASS_CONNECTION, 
HTTP2_ERROR_PROTOCOL_ERROR);
   }
 
-  if (!stream->header_blocks) {
-    return Http2Error(HTTP2_ERROR_CLASS_CONNECTION, 
HTTP2_ERROR_PROTOCOL_ERROR);
-  }
-
   uint32_t header_blocks_offset = stream->header_blocks_length;
   stream->header_blocks_length += payload_length;
 

Reply via email to