aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-05-06 15:33:23 -0700
committerGravatar Craig Tiller <ctiller@google.com>2015-05-06 15:33:23 -0700
commitb96d0015840cbb5a22212cb70852fc8b99a67a81 (patch)
tree50279bb46cd08bd3fe9609f36f0b7036c908553e /include
parentae35546ddaf6225bc35545df05b65a560e6d52f3 (diff)
Validate that headers contain legal bytes
Diffstat (limited to 'include')
-rw-r--r--include/grpc/grpc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/grpc/grpc.h b/include/grpc/grpc.h
index 9bb826f323..3348653956 100644
--- a/include/grpc/grpc.h
+++ b/include/grpc/grpc.h
@@ -140,7 +140,9 @@ typedef enum grpc_call_error {
/* there is already an outstanding read/write operation on the call */
GRPC_CALL_ERROR_TOO_MANY_OPERATIONS,
/* the flags value was illegal for this call */
- GRPC_CALL_ERROR_INVALID_FLAGS
+ GRPC_CALL_ERROR_INVALID_FLAGS,
+ /* invalid metadata was passed to this call */
+ GRPC_CALL_ERROR_INVALID_METADATA
} grpc_call_error;
/* Result of a grpc operation */