RFC 2186:Internet Cache Protocol (ICP), version 2
RFC-Ref

query


Click on the red underlined text to get to the source

... caches. One cache sends an ICP query to its neighbors. The neighbors ...
... 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_INVALID 1 ICP_OP_QUERY 2 ICP_OP_HIT ...
... ICP_OP_QUERY A query message. NOTE this opcode has a different payload format ...
... 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_QUERY payload format: ...
... In response to an ICP_OP_QUERY, the recipient must return one of: ICP_OP_HIT ...
... 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. ...
... ICP_OP_DECHO Similar to ICP_OP_QUERY, but for use in simulating a query to a cache ...
... 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 ...
... Number field must be exactly the same as from the ICP_OP_QUERY message. ...
... 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 ...
... ICP_FLAG_HIT_OBJ flag is set in the query message Options field. ...


... 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 ...
... Upon receipt of an ICP_OP_QUERY with ICP_FLAG_SRC_RTT bit ...
... ICP_FLAG_SRC_RTT is clear in the query then it MUST also be clear in the reply. If ICP_FLAG_SRC_RTT ...
... ICP_FLAG_SRC_RTT is set in the query, then it may or may not be set in the reply. ...



Google
Web
RFC-Ref