You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by so...@apache.org on 2016/11/04 14:33:24 UTC

[trafficserver] branch 6.2.x updated: TS-4934: Remove invalid assert

This is an automated email from the ASF dual-hosted git repository.

sorber pushed a commit to branch 6.2.x
in repository https://git-dual.apache.org/repos/asf/trafficserver.git

The following commit(s) were added to refs/heads/6.2.x by this push:
       new  83f9d13   TS-4934: Remove invalid assert
83f9d13 is described below

commit 83f9d13125045fd2acc496e693e798441523cda0
Author: Masaori Koshiba <ma...@apache.org>
AuthorDate: Wed Oct 5 14:17:20 2016 +0900

    TS-4934: Remove invalid assert
    
    (cherry picked from commit 6e72b2a8e52a421f2e3bc88cf476460123e88fc3)
---
 proxy/http2/Http2Stream.cc | 2 --
 1 file changed, 2 deletions(-)

diff --git a/proxy/http2/Http2Stream.cc b/proxy/http2/Http2Stream.cc
index 6e9079f..cfdf682 100644
--- a/proxy/http2/Http2Stream.cc
+++ b/proxy/http2/Http2Stream.cc
@@ -291,8 +291,6 @@ Http2Stream::do_io_close(int /* flags */)
       // Wee will be removed at send_data_frames or closing connection phase
       static_cast<Http2ClientSession *>(parent)->connection_state.send_data_frames(this);
     }
-    // Check to see if the stream is in the closed state
-    ink_assert(get_state() == HTTP2_STREAM_STATE_CLOSED || get_state() == HTTP2_STREAM_STATE_HALF_CLOSED_REMOTE);
 
     clear_timers();
     clear_io_events();

-- 
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].