Re: client IP lookup - (Squid 2.5-Stable6)

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Mon, 22 Nov 2004 10:09:31 +0100 (CET)

On Sun, 21 Nov 2004, Joe Coco wrote:

> Problem is where I'm calling is within ClientAccessCheckDone(int answer,
> void *data), from client_side.c so it doesn't have the full request->
> struct.

ClientAccessCheckDone has the full request struct. It's in http->request.
So the client IP can be found in

   http->request->client_addr

Regards
Henrik
Received on Mon Nov 22 2004 - 02:09:34 MST

This archive was generated by hypermail pre-2.1.9 : Tue Nov 30 2004 - 12:00:03 MST