From 3f374386e6507be0440021d03ee8904f05981d88 Mon Sep 17 00:00:00 2001
From: Makarand Dharmapurikar <makarandd@makarand-linux.mtv.corp.google.com>
Date: Wed, 31 Aug 2016 17:34:56 -0700
Subject: [PATCH] moved kMaxPayloadSizeForGet definition to C file

---
 src/core/lib/channel/http_client_filter.c | 3 +++
 src/core/lib/channel/http_client_filter.h | 1 -
 2 files changed, 3 insertions(+), 1 deletion(-)

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;
diff --git a/src/core/lib/channel/http_client_filter.h b/src/core/lib/channel/http_client_filter.h
index 7b646b1c7c..9e6e106e9c 100644
--- a/src/core/lib/channel/http_client_filter.h
+++ b/src/core/lib/channel/http_client_filter.h
@@ -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 */
-- 
GitLab