per rplum suggestion. thx!
authorJim Jagielski <jim@apache.org>
Mon, 11 Jan 2016 13:06:03 +0000 (13:06 +0000)
committerJim Jagielski <jim@apache.org>
Mon, 11 Jan 2016 13:06:03 +0000 (13:06 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1724017 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/mod_proxy.c
modules/proxy/mod_proxy.h

index 90ae6189f6b6a020057a16c22c318462ee34a426..901581bf531bb3d293d37db728feee47e835951e 100644 (file)
@@ -43,6 +43,17 @@ APR_DECLARE_OPTIONAL_FN(char *, ssl_var_lookup,
  */
 static APR_OPTIONAL_FN_TYPE(set_worker_hc_param) *set_worker_hc_param_f = NULL;
 
+hcmethods_t hcmethods[] = {
+        {NONE, "NONE"},
+        {TCP, "TCP"},
+        {OPTIONS, "OPTIONS"},
+        {HEAD, "HEAD"},
+        {GET, "GET"},
+        {CPING, "CPING"},
+        {PROVIDER, "PROVIDER"},
+        {EOT, NULL}
+};
+
 static const char * const proxy_id = "proxy";
 apr_global_mutex_t *proxy_mutex = NULL;
 
index 78b2e885a7bad230109f4fa9a16bc3d6d2248c6f..b9aadf23bd204820b01fe47d90bc01c0c7c8b194 100644 (file)
@@ -84,16 +84,7 @@ typedef struct {
     char *name;
 } hcmethods_t;
 
-static hcmethods_t hcmethods[] = {
-        {NONE, "NONE"},
-        {TCP, "TCP"},
-        {OPTIONS, "OPTIONS"},
-        {HEAD, "HEAD"},
-        {GET, "GET"},
-        {CPING, "CPING"},
-        {PROVIDER, "PROVIDER"},
-        {EOT, NULL}
-};
+extern hcmethods_t hcmethods[];
 
 #define BALANCER_PREFIX "balancer://"