]> git.ipfire.org Git - thirdparty/squid.git/commit
Removed 'method bits' hack from ICP query/reply. This will break
authorwessels <>
Fri, 11 Sep 1998 23:07:41 +0000 (23:07 +0000)
committerwessels <>
Fri, 11 Sep 1998 23:07:41 +0000 (23:07 +0000)
commit007b8be4cfc066113c492b50203aefd1cad457ff
treec6f24c479b51ecab5f92715b7a5db7396e7936f9
parent5aef686ff659520c4eda59922a6e3ecff1af7ed3
Removed 'method bits' hack from ICP query/reply.  This will break
interoperability.  Instead the ICP server treats all queries as
METHOD_GET.

The ICP client code, however, uses an array of the most recent
8192 keys sent in ICP queries.  The reqnum is an index to this
array, so we can look up the key for an ICP reply easily.

Also changed storeKeyPublic and storeKeyPrivate to NOT use snprintf, but
just pass integers 'id' and 'method' directly to md5update.
src/client_side.cc
src/icmp.cc
src/icp_v2.cc
src/icp_v3.cc
src/neighbors.cc
src/protos.h
src/store.cc
src/store_key_md5.cc
src/structs.h