aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar Eric Anderson <ejona86@gmail.com>2015-05-07 11:43:59 -0700
committerGravatar Eric Anderson <ejona86@gmail.com>2015-05-07 11:43:59 -0700
commite82f8266cf81cb9405755ac3b4ff04e275a4b1de (patch)
tree93047be9b886cfe8b8fadae742e7a321af022be0 /include
parent2ec12dededecd8206dee74d22101b731a2e65b6c (diff)
parent228896eab501b363481662b881509f7bc2372591 (diff)
Merge pull request #1502 from ctiller/check-on-headers
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 */