Go to the source code of this file.
Functions | |
void | peerUserHashInit (void) |
CachePeer * | peerUserHashSelectParent (PeerSelector *) |
Function Documentation
◆ peerUserHashInit()
void peerUserHashInit | ( | void | ) |
Definition at line 51 of file peer_userhash.cc.
References assert, CurrentCachePeers(), double, int, PEER_PARENT, peerSortWeight(), peerUserHashRegisterWithCacheManager(), ROTATE_LEFT, and UserHashPeers().
Referenced by serverConnectionsOpen().
◆ peerUserHashSelectParent()
CachePeer * peerUserHashSelectParent | ( | PeerSelector * | ps | ) |
Definition at line 143 of file peer_userhash.cc.
References assert, HttpRequest::auth_user_request, debugs, peerHTTPOkay(), PeerSelector::request, ROTATE_LEFT, UserHashPeers(), and Auth::UserRequest::username().
Referenced by PeerSelector::selectSomeParent().