Relocate the DEFAULT_KEEP_ALIVE_TIMEOUT definition to loadcfg.c
authorFabian Keil <fk@fabiankeil.de>
Sun, 4 Jun 2017 14:42:32 +0000 (14:42 +0000)
committerFabian Keil <fk@fabiankeil.de>
Sun, 4 Jun 2017 14:42:32 +0000 (14:42 +0000)
It's no longer referenced anywhere else.

gateway.h
loadcfg.c

index 4eb69ab..c1d8add 100644 (file)
--- a/gateway.h
+++ b/gateway.h
@@ -1,6 +1,6 @@
 #ifndef GATEWAY_H_INCLUDED
 #define GATEWAY_H_INCLUDED
-#define GATEWAY_H_VERSION "$Id: gateway.h,v 1.24 2016/12/24 16:00:49 fabiankeil Exp $"
+#define GATEWAY_H_VERSION "$Id: gateway.h,v 1.25 2017/06/04 14:42:13 fabiankeil Exp $"
 /*********************************************************************
  *
  * File        :  $Source: /cvsroot/ijbswa/current/gateway.h,v $
@@ -45,12 +45,6 @@ extern jb_socket forwarded_connect(const struct forward_spec * fwd,
                                    struct http_request *http,
                                    struct client_state *csp);
 
-/*
- * Default number of seconds after which an
- * open connection will no longer be reused.
- */
-#define DEFAULT_KEEP_ALIVE_TIMEOUT 180
-
 #ifdef FEATURE_CONNECTION_SHARING
 extern void initialize_reusable_connections(void);
 extern void forget_connection(jb_socket sfd);
index 4944a41..39e1828 100644 (file)
--- a/loadcfg.c
+++ b/loadcfg.c
@@ -1,4 +1,4 @@
-const char loadcfg_rcs[] = "$Id: loadcfg.c,v 1.160 2017/05/29 10:02:11 fabiankeil Exp $";
+const char loadcfg_rcs[] = "$Id: loadcfg.c,v 1.161 2017/06/04 14:42:13 fabiankeil Exp $";
 /*********************************************************************
  *
  * File        :  $Source: /cvsroot/ijbswa/current/loadcfg.c,v $
@@ -90,6 +90,12 @@ const char loadcfg_rcs[] = "$Id: loadcfg.c,v 1.160 2017/05/29 10:02:11 fabiankei
 #include "client-tags.h"
 #endif
 
+/*
+ * Default number of seconds after which an
+ * open connection will no longer be reused.
+ */
+#define DEFAULT_KEEP_ALIVE_TIMEOUT 180
+
 const char loadcfg_h_rcs[] = LOADCFG_H_VERSION;
 
 #ifdef FEATURE_TOGGLE