question about persistent connection between caches

From: <fantacywall@dont-contact.us>
Date: Thu, 24 Nov 2005 07:40:05 +0000

when i read the two lines below(line 1098 in http.c),i have a question
about persistent connection between caches
else if (p->stats.n_keepalives_sent < 10)
        httpState->flags.keepalive = 1;
    else if ((double) p->stats.n_keepalives_recv / (double)
p->stats.n_keepalives_sent > 0.50)
        httpState->flags.keepalive = 1;

why we have to keep the rate about n_keepalives_recv and
stats.n_keepalives_sent .and why we need to keep n_keepalives_sent < 10?
someone can tell me the reason? thanks
Received on Thu Nov 24 2005 - 00:40:07 MST

This archive was generated by hypermail pre-2.1.9 : Thu Dec 01 2005 - 12:00:15 MST