You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bc...@apache.org on 2015/08/17 21:38:22 UTC

trafficserver git commit: TS-3846: CID 1316404: Uninitialized members in HTTP2.h

Repository: trafficserver
Updated Branches:
  refs/heads/master 728f2c3a8 -> 87b8e5f81


TS-3846: CID 1316404: Uninitialized members in HTTP2.h

This closes #278


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

Branch: refs/heads/master
Commit: 87b8e5f817750e99051fe07ead254d74d09f6c71
Parents: 728f2c3
Author: Masakazu Kitajo <mk...@yahoo-corp.jp>
Authored: Mon Aug 17 12:37:15 2015 -0700
Committer: Bryan Call <bc...@apache.org>
Committed: Mon Aug 17 12:37:15 2015 -0700

----------------------------------------------------------------------
 proxy/http2/HTTP2.h | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/87b8e5f8/proxy/http2/HTTP2.h
----------------------------------------------------------------------
diff --git a/proxy/http2/HTTP2.h b/proxy/http2/HTTP2.h
index a27b6a3..3506f69 100644
--- a/proxy/http2/HTTP2.h
+++ b/proxy/http2/HTTP2.h
@@ -245,6 +245,8 @@ struct Http2SettingsParameter {
 
 // 6.3 PRIORITY
 struct Http2Priority {
+  Http2Priority() : stream_dependency(0), weight(15) {}
+
   uint32_t stream_dependency;
   uint8_t weight;
 };