aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar David G. Quintas <dgq@google.com>2015-12-16 10:48:27 -0800
committerGravatar David G. Quintas <dgq@google.com>2015-12-16 10:48:27 -0800
commit7a53de18ba12f8ca67707a745ed1da82d8402cb4 (patch)
treed10da871786149087a178a5fed867177d2d54d07 /src
parent5ff97a27a9a6d6516b9a2fa36c8e9995b0e05a59 (diff)
parenta7615892f9fe596bb50268207191214dde31aafe (diff)
Merge pull request #4467 from ctiller/DotInHeaderName
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);