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

From: Joe Coco <anesthes@dont-contact.us>
Date: Mon, 22 Nov 2004 09:08:10 -0500 (EST)

Henrik,

I coulda sworn that gave me a compile error about it not being a
member. Will give it a whirl today. Thanks!

-- Joe

On Mon, 22 Nov 2004, Henrik Nordstrom wrote:

>
>
> 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 - 04:45:00 MST

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