[squid-users] Getting IP address of client in parseHttpRequest (client_side.cc) / Squid 3.3.9

From: Peter Belau <pbelau1_at_yahoo.com>
Date: Tue, 8 Oct 2013 04:09:31 -0700 (PDT)

Hi,

I'm doing a little hacking on Squid in client_side.cc and I need a way to obtain the client IP address from within parseHttpRequest(). In earlier versions of Squid this used to be in ConnStateData but now seems to have moved to the ClientHttpRequest class. Unfortunately, however, this structure does not seem to be fully populated when it's instantiated from parseHttpRequest()

Could anyone suggest clean way of obtaining this information from within parseHttpRequest() ?

Help much appreciated,

Peter
Received on Tue Oct 08 2013 - 11:10:57 MDT

This archive was generated by hypermail 2.2.0 : Wed Oct 09 2013 - 12:00:05 MDT