]> git.ipfire.org Git - thirdparty/squid.git/commit - src/http/Message.h
Moved HttpRequest lock/link counter to the base HttpMsg class. This
authorwessels <>
Tue, 24 Jan 2006 03:04:24 +0000 (03:04 +0000)
committerwessels <>
Tue, 24 Jan 2006 03:04:24 +0000 (03:04 +0000)
commit4a56ee8d19d728fc0895ce9bf665acfbb82e9c05
tree6a93cc2ebd376fb2731074da1bbdad3490972dd3
parentc83a7446fb5d8c0c5e6605231fe757de1843a591
Moved HttpRequest lock/link counter to the base HttpMsg class.  This
makes it easy to also lock-count HttpReply instances.

Removed HttpReply::swapOut(), which was a trivial wrapper around
StoreEntry::storeEntryReplaceObject().  Just call storeEntryReplaceObject()
instead.

Removed HttpReply::absorb() which was a hack to deal with the fact that
HttpReply's were not lock-counted.
22 files changed:
src/HttpMsg.cc
src/HttpMsg.h
src/HttpReply.cc
src/HttpReply.h
src/HttpRequest.cc
src/HttpRequest.h
src/ICAP/MsgPipeData.h
src/MemObject.cc
src/MemObject.h
src/Store.h
src/cache_manager.cc
src/client_side_reply.cc
src/errorpage.cc
src/ftp.cc
src/http.cc
src/http.h
src/internal.cc
src/mime.cc
src/net_db.cc
src/store.cc
src/store_digest.cc
src/urn.cc