aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-08-24 15:54:29 -0700
committerGravatar Craig Tiller <ctiller@google.com>2016-08-24 15:54:29 -0700
commit24096ce7beba67b815dc390da769af84c1fd4afa (patch)
tree7ad33b1946052432014bb62274baa6bcfdd8bfe2 /include
parent19ea0cffd7ba3df686ed05671f9ed35b8e9fa830 (diff)
Support >16kib frame sizes in core
Diffstat (limited to 'include')
-rw-r--r--include/grpc/impl/codegen/grpc_types.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/grpc/impl/codegen/grpc_types.h b/include/grpc/impl/codegen/grpc_types.h
index e5a82883be..d7f50f6314 100644
--- a/include/grpc/impl/codegen/grpc_types.h
+++ b/include/grpc/impl/codegen/grpc_types.h
@@ -142,6 +142,11 @@ typedef struct {
/** How much memory to use for hpack encoding. Int valued, bytes. */
#define GRPC_ARG_HTTP2_HPACK_TABLE_SIZE_ENCODER \
"grpc.http2.hpack_table_size.encoder"
+/** How big a frame are we willing to receive via HTTP2.
+ Min 16384, max 16777215.
+ Larger values give lower CPU usage for large messages, but more head of line
+ blocking for small messages. */
+#define GRPC_ARG_HTTP2_MAX_FRAME_SIZE "grpc.http2.max_frame_size"
/** Default authority to pass if none specified on call construction. A string.
* */
#define GRPC_ARG_DEFAULT_AUTHORITY "grpc.default_authority"