Hi Henrik, 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.
Data appears to be an element within request-> (http) rather than the whole request struct. Perhaps it will be easier just to copy over client_addr to the http-> struct. Thanks, -- Joe On Wed, 10 Nov 2004, Henrik Nordstrom wrote: > > > On Tue, 9 Nov 2004, Joe Coco wrote: > > > I can't seem to find an entry in the structure clientHttpRequest for the > > clients source IP address (or authenticated username)? > > The IP you have in request->client_addr. > > Authentication is best explained by looking at the acl code. > > clientHttpRequest is just a intermediate data type containing the local > state information needed for the client side parts of Squid to keep track > of the progress of the request, not the request or connection as such > (sits between the connection and the request) > > Regards > Henrik >
