Re: /bzr/squid3/trunk/ r9021: Author: Alex Rousskov <rousskov@measurement-factory.com>

From: Tsantilas Christos <chtsanti_at_users.sourceforge.net>
Date: Sun, 08 Jun 2008 17:26:02 +0300

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 <squid3_at_treenet.co.nz>
> branch nick: trunk
> timestamp: Sat 2008-06-07 17:20:05 +1200
> message:
> Author: Alex Rousskov <rousskov_at_measurement-factory.com>
> 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
>
Received on Sun Jun 08 2008 - 15:05:14 MDT

This archive was generated by hypermail 2.2.0 : Mon Jun 09 2008 - 12:00:05 MDT