|
|
@ -703,7 +703,7 @@ int grpc_mdstr_is_legal_header(grpc_mdstr *s) { |
|
|
|
|
|
|
|
|
|
|
|
int grpc_mdstr_is_legal_nonbin_header(grpc_mdstr *s) { |
|
|
|
int grpc_mdstr_is_legal_nonbin_header(grpc_mdstr *s) { |
|
|
|
static const gpr_uint8 legal_header_bits[256 / 8] = { |
|
|
|
static const gpr_uint8 legal_header_bits[256 / 8] = { |
|
|
|
0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, |
|
|
|
0x00, 0x00, 0x00, 0x00, 0xff, 0xef, 0xff, 0xff, 0xff, 0xff, 0xff, |
|
|
|
0xff, 0xff, 0xff, 0xff, 0x7f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|
|
|
0xff, 0xff, 0xff, 0xff, 0x7f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
|
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; |
|
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; |
|
|
|
return conforms_to(s, legal_header_bits); |
|
|
|
return conforms_to(s, legal_header_bits); |
|
|
|