Commit 7b13cad0 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Don't use symbolic names for flags, GCC and Sun's C-compiler are

not as smart as LLVM about const.
parent 1468655f
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment