trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sor...@apache.org
Subject [03/12] trafficserver git commit: TS-3519: HTTP/2 seeing a lot of GOAWAY frames being sent Fixed where stream could be dereferenced as a NULL pointer
Date Wed, 22 Apr 2015 16:55:22 GMT
TS-3519: HTTP/2 seeing a lot of GOAWAY frames being sent
Fixed where stream could be dereferenced as a NULL pointer

(cherry picked from commit 43a4086ca17bdd9aab6db8f914898aa726568f52)


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

Branch: refs/heads/5.3.x
Commit: 15879950dd375cf28359330e02f9114a1d211eb3
Parents: 71a89e4
Author: Bryan Call <bcall@apache.org>
Authored: Thu Apr 16 22:02:44 2015 -0500
Committer: Phil Sorber <sorber@apache.org>
Committed: Fri Apr 17 07:38:42 2015 -0600

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


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/15879950/proxy/http2/Http2ConnectionState.cc
----------------------------------------------------------------------
diff --git a/proxy/http2/Http2ConnectionState.cc b/proxy/http2/Http2ConnectionState.cc
index 2af2d6a..3322d6d 100644
--- a/proxy/http2/Http2ConnectionState.cc
+++ b/proxy/http2/Http2ConnectionState.cc
@@ -304,9 +304,9 @@ rcv_rst_stream_frame(Http2ClientSession &cs, Http2ConnectionState
&cstate, const
     return HTTP2_ERROR_PROTOCOL_ERROR;
   }
 
-  DebugSsn(&cs, "http2_cs", "[%" PRId64 "] RST_STREAM: Stream ID: %u, Error Code: %u)",
cs.connection_id(), stream->get_id(),
-           rst_stream.error_code);
   if (stream != NULL) {
+    DebugSsn(&cs, "http2_cs", "[%" PRId64 "] RST_STREAM: Stream ID: %u, Error Code: %u)",
cs.connection_id(), stream->get_id(),
+             rst_stream.error_code);
     cstate.delete_stream(stream);
   }
 


Mime
View raw message