Squid-2.5 ICAP client

From: Henrik Nordstrom <hno@dont-contact.us>
Date: 25 Mar 2003 18:11:16 +0100

Hello Geetha,

I am currently investigating the Squid-2.5 ICAP client patch, and there
is a small section in clientReadRequest which I need to have explained
to me:

In clientReadRequest you have this fragment:

                }
            }
+#ifdef HS_FEAT_ICAP
+ /* I need to read the modified request header from icap
server -
+ allow me. If it has come through Accept go ahead and
service..
+ else don;t */
+ if (conn->me.sin_family)
+#endif
+ {
            clientAccessCheck(http);
+ }
            continue; /* while offset > 0 && body.size_left ==
0 */
        } else if (parser_return_code == 0) {

I do not quite understand what this fragment is supposed to be doing.
What is the relation on conn->me.sin_family here?

Regards
Henrik

-- 
Henrik Nordstrom <hno@squid-cache.org>
MARA Systems AB, Sweden
Received on Tue Mar 25 2003 - 10:15:35 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:19:35 MST