Request number handling in squid 1.2

From: Stephen Baxter <>
Date: Thu, 10 Sep 1998 18:54:30 +0930 (CST)


We are looking at altering squid to work with an ICP
concentrator/redirector/'smart neighbour' that we have built.

I am looking through the squid 1.2b23 code in the icpv2.c file and see
that squid 1.2 may do something differnet to the request number based on
the type of request it is. The ICPV2 draft says :

   Request Number
      An opaque identifier. When responding to a query, this value must
      be copied into the reply message.

But the code that has us scratching our heads is :

 method = header.reqnum >> 24;
    /* Squid-1.1 doesn't use the "method bits" for METHOD_GET */
    if (METHOD_NONE == method || METHOD_ENUM_END <= method)
        method = METHOD_GET;

is this the case, can anybody tell me if the request number is modified
(by altering the high or low bits) by squid other than to increment it on
a per ICP basis.

Stephen Baxter SE Network Access/Big Networks Australia
phone : +61 8 8221 5221 222 Grote Street
fax : +61 8 8221 5220 Adelaide 5000, Australia
Received on Thu Sep 10 1998 - 01:25:37 MDT

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