trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bc...@apache.org
Subject trafficserver git commit: TS-3958: HTTP/2 coredump with NULL FetchSM
Date Tue, 13 Oct 2015 00:06:24 GMT
Repository: trafficserver
Updated Branches:
  refs/heads/master c9a6059df -> 7307f0ef5


TS-3958: HTTP/2 coredump with NULL FetchSM


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

Branch: refs/heads/master
Commit: 7307f0ef56896b119733b9ec6e34abe55b9d7bd5
Parents: c9a6059
Author: Bryan Call <bcall@apache.org>
Authored: Mon Oct 12 17:05:30 2015 -0700
Committer: Bryan Call <bcall@apache.org>
Committed: Mon Oct 12 17:05:30 2015 -0700

----------------------------------------------------------------------
 proxy/http2/Http2ConnectionState.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/7307f0ef/proxy/http2/Http2ConnectionState.cc
----------------------------------------------------------------------
diff --git a/proxy/http2/Http2ConnectionState.cc b/proxy/http2/Http2ConnectionState.cc
index 86f215e..a0fff63 100644
--- a/proxy/http2/Http2ConnectionState.cc
+++ b/proxy/http2/Http2ConnectionState.cc
@@ -843,7 +843,7 @@ Http2ConnectionState::restart_streams()
   Http2Stream *s = stream_list.head;
   while (s) {
     Http2Stream *next = s->link.next;
-    if (min(this->client_rwnd, s->client_rwnd) > 0) {
+    if (s->get_fetcher() != NULL && min(this->client_rwnd, s->client_rwnd)
> 0) {
       this->send_data_frame(s->get_fetcher());
     }
     s = next;


Mime
View raw message