Skip to content
Snippets Groups Projects
Commit 3f374386 authored by Makarand Dharmapurikar's avatar Makarand Dharmapurikar
Browse files

moved kMaxPayloadSizeForGet definition to C file

parent b94656d2
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
......@@ -43,6 +43,5 @@ extern const grpc_channel_filter grpc_http_client_filter;
/* Channel arg to determine maximum size of payload eligable for GET request */
#define GRPC_ARG_MAX_PAYLOAD_SIZE_FOR_GET "grpc.max_payload_size_for_get"
static const size_t kMaxPayloadSizeForGet = 2048;
#endif /* GRPC_CORE_LIB_CHANNEL_HTTP_CLIENT_FILTER_H */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment