query
Click on the red underlined text to get to the source
... offers features important to Web caching applications. An ICP
query/reply exchange needs to occur quickly, typically within a
second or two. A cache cannot wait longer than that before beginning
...
... Request Number
An opaque identifier. When responding to a query, this value must
be copied into the reply message.
...
... ICP_OP_QUERY
A query message. NOTE this opcode has a different payload format
than most of the others. First is the requester's IPv4 address ...
... ICP_OP_SECHO
Similar to ICP_OP_QUERY, but for use in simulating a query to an
origin server. When ICP ...
... Similar to ICP_OP_QUERY, but for use in simulating a query to an
origin server. When ICP is used to select the closest neighbor ...
... echo server will not interpret the data (i.e. we could
send it anything). This opcode is used to tell the difference
between a legitimate query or response, random garbage, and an
echo response.
...
... Similar to ICP_OP_QUERY, but for use in simulating a query to a
cache which does not use ICP ...
... ICP opcodes are sent in response to an
ICP_OP_QUERY message. Unless otherwise noted, the payload must be
the null-terminated URL ...
... ICP_OP_ERR response indicates some kind of error in parsing or
handling the query message (e.g. invalid URL).
...
... neighbor which
exceeds a certain threshold (e.g. 95% of 100 or more queries).
Similarly, a cache ...
... more), the cache may choose to ignore all subsequent ICP_OP_QUERY
messages from that address until some sort of administrative
...
... been included in this reply message. Many requested objects are
small enough that it is possible to include them in the query
response and avoid the need to make a subsequent HTTP request for
...
... HIT_OBJ
This flag is set in an ICP_OP_QUERY message indicating that it is
okay to respond with an ICP_OP_HIT ...
... RTT
This flag is set in an ICP_OP_QUERY message indicating that the
requester would like the ICP reply to include the responder ...
... ICP_FLAG_SRC_RTT is clear in
the query then it MUST also be clear in the reply. If
ICP_FLAG_SRC_RTT ...
