Never mind.
I think I worked it out. I simply used the http object in
ClientSocketContext and then parsed it as a hit or a miss using
logTypeIsATcpHit() so I had something like:
int hit = logTypeIsATcpHit(http->logType);
This worked ok. Thanks for listening to my dribble anyway. Its 3am and
it takes me a while at this time of night!
Cheers,
Daniel
On Thu, 2003-03-27 at 01:21, Daniel Draper wrote:
> Ok,
>
> So when a request is made for a page from a client, squid first checks
> its store of local files. If the file exists locally then this file is
> parsed and sent back as an Http response to the client. Is there a flag
> that indicates whether the file was found locally? Is there a struct
> that handles this information if so what is it called and where can it
> be found? Is it the StoreEntry data struct?
>
> Thanks for helping me out.
>
> Daniel.
>
>
Received on Wed Mar 26 2003 - 09:33:55 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:19:35 MST