Thanks for the quick reply.

I guess you can have an entry in the "servers" list but it may not have any
active connections to those servers, am I correct?

I am looking for a few different things:

1) Cache hit/misses.  I guess it does not exist but perhaps you can point to
me where in the code I can determine this?  Basically I want to know whether
I had to get the data from the server or if it already existed in cache.
Where is this determined?

2) Number of connections to the servers, I guess this is part of the
"servers" list

        for(i = 0; i < server->maxslots; i++)
            if(server->connection[i] && !server->connection[i]->connecting)
{
                if(i < server->numslots)
                    n++;
                else
                    m++;
            }

3) Number of active connections to clients, where would I find that?

Your help is very much appreciated.

Thanks,

Bhavesh

On Mon, Apr 7, 2008 at 4:59 PM, Juliusz Chroboczek <
[EMAIL PROTECTED]> wrote:

> > I'm new to polipo.
>
> Welcome.
>
> > I was wondering where (if it exists) or how I can find
> > stats on Cache hits/misses
>
> Polipo does not keep this kind of statistics.
>
> Actually, this kind of statistics don't make much sense for Polipo,
> since there isn't a one-to-one correspondence between client and
> server connections.  A single server-side GET can satisfy multiple
> clients, and single client request can be split into multiple server
> requests.
>
> > and number of Active HTTP server connections at any given time.
>
>   http://localhost:8123/polipo/servers?
>
>                                        Juliusz
>
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Polipo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/polipo-users

Reply via email to