aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Craig Tiller <craig.tiller@gmail.com>2015-12-15 10:41:54 -0800
committerGravatar Craig Tiller <craig.tiller@gmail.com>2015-12-15 10:41:54 -0800
commita7615892f9fe596bb50268207191214dde31aafe (patch)
treeac9b27246ea8fc985387e7fecb27d98a0b605405 /src
parent29c3ca5a3a00b43196a3c0187dbedbba861c1e71 (diff)
Allow . in header names
Diffstat (limited to 'src')
-rw-r--r--src/core/transport/metadata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/transport/metadata.c b/src/core/transport/metadata.c
index df05d1a302..02b2402820 100644
--- a/src/core/transport/metadata.c
+++ b/src/core/transport/metadata.c
@@ -703,7 +703,7 @@ static int conforms_to(grpc_mdstr *s, const gpr_uint8 *legal_bits) {
int grpc_mdstr_is_legal_header(grpc_mdstr *s) {
static const gpr_uint8 legal_header_bits[256 / 8] = {
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xff, 0x03, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0xff, 0x03, 0x00, 0x00, 0x00,
0x80, 0xfe, 0xff, 0xff, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
return conforms_to(s, legal_header_bits);