HTTP header to try to find the IP address of the
original or indirect client when a request has
been forwarded through other proxies.]), [
- SQUID_YESNO([$enableval],[unrecognized argument to --enable-follow-x-forwarded-for: $enableval])
- squid_opt_follow_xff=$enableval
+ SQUID_YESNO([$enableval],
+ [unrecognized argument to --enable-follow-x-forwarded-for: $enableval])
])
-AC_MSG_NOTICE([Support for X-Forwarded-For enabled: $squid_opt_follow_xff])
-SQUID_DEFINE_BOOL(FOLLOW_X_FORWARDED_FOR,$squid_opt_follow_xff,
+AC_MSG_NOTICE([Support for X-Forwarded-For enabled: ${enable_follow_x_forwarded_for:=yes}])
- SQUID_DEFINE_BOOL([FOLLOW_X_FORWARDED_FOR],$enable_follow_x_forwarded_for,
++SQUID_DEFINE_BOOL(FOLLOW_X_FORWARDED_FOR,$enable_follow_x_forwarded_for,
[Enable following X-Forwarded-For headers])
-squid_opt_use_ident="yes"
AC_ARG_ENABLE(ident-lookups,
AS_HELP_STRING([--disable-ident-lookups],
[Remove code that supports performing Ident (RFC 931) lookups.]), [
RR_RESPONSE
};
-static u_int32_t msg_id_counter = 0;
+ static void htcpIncomingConnectionOpened(int fd, int errNo);
+static uint32_t msg_id_counter = 0;
+
static int htcpInSocket = -1;
static int htcpOutSocket = -1;
#define N_QUERIED_KEYS 8192