[master] 7b13cad Don't use symbolic names for flags, GCC and Sun's C-compiler are not as smart as LLVM about const.

Poul-Henning Kamp phk at FreeBSD.org
Mon Mar 6 16:42:05 CET 2017


commit 7b13cad08b7d3975962eb68ebca63a63039e8c57
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Mar 6 15:40:56 2017 +0000

    Don't use symbolic names for flags, GCC and Sun's C-compiler are
    not as smart as LLVM about const.

diff --git a/include/tbl/h2_frames.h b/include/tbl/h2_frames.h
index 039937d..4089d9e 100644
--- a/include/tbl/h2_frames.h
+++ b/include/tbl/h2_frames.h
@@ -45,7 +45,7 @@
 	H2CE_PROTOCOL_ERROR,
 	1,
 	H2_F_DATA,
-	H2FF_DATA_END_STREAM		// rfc7540,l,1750,1753
+	0x01				// rfc7540,l,1750,1753
   )
   H2_FRAME(headers,		HEADERS,	0x1, 0x2d,
 	H2CE_PROTOCOL_ERROR,		// rfc7540,l,1876,1879
@@ -53,7 +53,7 @@
 	0,				// rfc7540,l,938,940
 	0,
 	H2_F_CONTINUATION,
-	H2FF_HEADERS_END_HEADERS,	// rfc7540,l,1855,1857
+	0x04				// rfc7540,l,1855,1857
   )
   H2_FRAME(priority,		PRIORITY,	0x2, 0x00,
 	H2CE_PROTOCOL_ERROR,		// rfc7540,l,1933,1936
@@ -85,7 +85,7 @@
 	H2CE_PROTOCOL_ERROR,
 	0,
 	H2_F_CONTINUATION,
-	H2FF_PUSH_PROMISE_END_HEADERS,	// rfc7540,l,2249,2251
+	0x04				// rfc7540,l,2249,2251
   )
   H2_FRAME(ping,		PING,		0x6, 0x01,
 	0,
@@ -117,7 +117,7 @@
 	H2CE_PROTOCOL_ERROR,
 	0,
 	H2_F_CONTINUATION,
-	H2FF_CONTINUATION_END_HEADERS	// rfc7540,l,2753,2754
+	0x04				// rfc7540,l,2753,2754
   )
   #undef H2_FRAME
 #endif



More information about the varnish-commit mailing list