Skip to content
Snippets Groups Projects
Commit b9ff149c authored by murgatroid99's avatar murgatroid99
Browse files

Merge branch 'core_metadata_validation_empty_check' into node_use_core_metadata_check

parents f776f900 58bb40fe
No related branches found
No related tags found
No related merge requests found
...@@ -53,6 +53,9 @@ int grpc_header_key_is_legal(const char *key, size_t length) { ...@@ -53,6 +53,9 @@ int grpc_header_key_is_legal(const char *key, size_t length) {
0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xff, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xff, 0x03, 0x00, 0x00, 0x00,
0x80, 0xfe, 0xff, 0xff, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xfe, 0xff, 0xff, 0x07, 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};
if (length == 0) {
return 0;
}
return conforms_to(key, length, legal_header_bits); return conforms_to(key, length, legal_header_bits);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment