Repository: trafficserver Updated Branches: refs/heads/6.0.x 25c6baae1 -> 2d4b9189e
TS-3958: HTTP/2 coredump with NULL FetchSM (cherry picked from commit 7307f0ef56896b119733b9ec6e34abe55b9d7bd5) Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/2d4b9189 Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/2d4b9189 Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/2d4b9189 Branch: refs/heads/6.0.x Commit: 2d4b9189e15c750eb39f1df443bef5b53fd91b7a Parents: 25c6baa Author: Bryan Call <[email protected]> Authored: Mon Oct 12 17:05:30 2015 -0700 Committer: Bryan Call <[email protected]> Committed: Thu Nov 19 16:42:20 2015 -0800 ---------------------------------------------------------------------- proxy/http2/Http2ConnectionState.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/2d4b9189/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;
