peer_userhash.cc
Go to the documentation of this file.
104 qsort(rawUserHashPeers.data(), rawUserHashPeers.size(), sizeof(decltype(rawUserHashPeers)::value_type), peerSortWeight);
static auto & UserHashPeers()
userhash peers ordered by their userhash weight
Definition: peer_userhash.cc:34
CachePeer * peerUserHashSelectParent(PeerSelector *ps)
Definition: peer_userhash.cc:155
Definition: CachePeer.h:28
static int peerSortWeight(const void *a, const void *b)
Definition: peer_userhash.cc:44
Auth::UserRequest::Pointer auth_user_request
Definition: HttpRequest.h:127
static void peerUserHashRegisterWithCacheManager(void)
Definition: peer_userhash.cc:137
Definition: HttpRequest.h:48
Definition: RunnersRegistry.h:37
DefineRunnerRegistrator(PeerUserHashRr)
reacts to RegisteredRunner events relevant to this module
Definition: peer_userhash.cc:144
std::vector< CbcPointer< CachePeer >, PoolingAllocator< CbcPointer< CachePeer > > > SelectedCachePeers
Definition: CachePeers.h:63
std::vector< CachePeer *, PoolingAllocator< CachePeer * > > RawCachePeers
Temporary, local storage of raw pointers to zero or more Config.peers.
Definition: CachePeers.h:66
Definition: Store.h:37
void RegisterAction(char const *action, char const *desc, OBJH *handler, Protected, Atomic, Format)
Definition: Registration.cc:54
Definition: PeerSelectState.h:59
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products