From: Francesco Chemolli Date: Wed, 7 Jul 2010 15:48:09 +0000 (+0200) Subject: Merged from trunk X-Git-Tag: take1~402^2~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3a5af257070aa3ab55b210ebe2d0b1e0de9d2bcd;p=thirdparty%2Fsquid.git Merged from trunk --- 3a5af257070aa3ab55b210ebe2d0b1e0de9d2bcd diff --cc configure.in index 38444d4e15,788ddcce73..0bb5b51a4a --- a/configure.in +++ b/configure.in @@@ -1423,13 -1423,14 +1423,13 @@@ AC_ARG_ENABLE(follow-x-forwarded-for 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.]), [ diff --cc src/htcp.cc index c6975e509c,fd17a3270b..763ed5114b --- a/src/htcp.cc +++ b/src/htcp.cc @@@ -225,7 -243,9 +243,9 @@@ enum RR_RESPONSE }; + static void htcpIncomingConnectionOpened(int fd, int errNo); +static uint32_t msg_id_counter = 0; + -static u_int32_t msg_id_counter = 0; static int htcpInSocket = -1; static int htcpOutSocket = -1; #define N_QUERIED_KEYS 8192