diff options
author | 2016-08-31 17:34:56 -0700 | |
---|---|---|
committer | 2016-08-31 17:34:56 -0700 | |
commit | 3f374386e6507be0440021d03ee8904f05981d88 (patch) | |
tree | 21a671b8745c790574ed95e7f57552e5d13b6871 /src/core/lib/channel/http_client_filter.c | |
parent | b94656d20e6b00e67bc4e2becd64234b378841db (diff) |
moved kMaxPayloadSizeForGet definition to C file
Diffstat (limited to 'src/core/lib/channel/http_client_filter.c')
-rw-r--r-- | src/core/lib/channel/http_client_filter.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/lib/channel/http_client_filter.c b/src/core/lib/channel/http_client_filter.c index 6d269b4df9..cffb8ffe29 100644 --- a/src/core/lib/channel/http_client_filter.c +++ b/src/core/lib/channel/http_client_filter.c @@ -43,6 +43,9 @@ #define EXPECTED_CONTENT_TYPE "application/grpc" #define EXPECTED_CONTENT_TYPE_LENGTH sizeof(EXPECTED_CONTENT_TYPE) - 1 +/* default maximum size of payload eligable for GET request */ +static const size_t kMaxPayloadSizeForGet = 2048; + typedef struct call_data { grpc_linked_mdelem method; grpc_linked_mdelem scheme; |