Hi,
It just needs a small patch to allow it compile if the follow_x_forwarded_for is not enabled:


--- src/client_side_request.cc  2008-06-07 05:20:05 +0000
+++ src/client_side_request.cc  2008-06-08 14:13:11 +0000
@@ -71,8 +71,10 @@

 static const char *const crlf = "\r\n";

+#if FOLLOW_X_FORWARDED_FOR
 static void
 clientFollowXForwardedForCheck(int answer, void *data);
+#endif

 CBDATA_CLASS_INIT(ClientRequestContext);



Amos Jeffries wrote:
------------------------------------------------------------
revno: 9021
committer: Amos Jeffries <[EMAIL PROTECTED]>
branch nick: trunk
timestamp: Sat 2008-06-07 17:20:05 +1200
message:
  Author: Alex Rousskov <[EMAIL PROTECTED]>
  Bug 1628: Port follow_x_forwarded_for from 2.6
modified:
  configure.in
  squid3.dox
  src/ACLChecklist.cc
  src/DelayId.cc
  src/HttpRequest.cc
  src/HttpRequest.h
  src/cf.data.pre
  src/client_side.cc
  src/client_side_request.cc
  src/structs.h


Reply via email to