aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Craig Tiller <craig.tiller@gmail.com>2015-04-21 13:42:25 -0700
committerGravatar Craig Tiller <craig.tiller@gmail.com>2015-04-21 13:42:25 -0700
commit4b200772996fe25190b3c52172dd1d1a2d15869f (patch)
tree9f40fbfacc7d3ed43f4e8f143f9080ca02292241 /src
parentb4a75a8547f53361c34655df98688cac024b4aaf (diff)
Add helpful log message
Diffstat (limited to 'src')
-rw-r--r--src/core/channel/http_server_filter.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/channel/http_server_filter.c b/src/core/channel/http_server_filter.c
index 85224f28e5..0bfe2f2e30 100644
--- a/src/core/channel/http_server_filter.c
+++ b/src/core/channel/http_server_filter.c
@@ -167,6 +167,9 @@ static void call_op(grpc_call_element *elem, grpc_call_element *from_elem,
calld->seen_path) {
grpc_call_next_op(elem, op);
} else {
+ if (!calld->seen_path) {
+ gpr_log(GPR_ERROR, "Missing :path header");
+ }
if (!calld->seen_post) {
gpr_log(GPR_ERROR, "Missing :method header");
}