pconn.cc
Go to the documentation of this file.
298IdleConnList::Read(const Comm::ConnectionPointer &conn, char *, size_t len, Comm::Flag flag, int, void *data)
346 debugs(48,6,"PconnPool::key(" << destLink << ", " << (domain?domain:"[no domain]") << ") is {" << buf << "}" );
468PconnPool::popStored(const Comm::ConnectionPointer &dest, const char *domain, const bool keepOpen)
CommCbFunPtrCallT< Dialer > * commCbCall(int debugSection, int debugLevel, const char *callName, const Dialer &dialer)
Definition: CommCalls.h:312
void comm_read(const Comm::ConnectionPointer &conn, char *buf, int len, AsyncCall::Pointer &callback)
Definition: Read.h:59
Definition: CommCalls.h:231
Definition: CommCalls.h:134
Definition: CommCalls.h:262
Definition: pconn.h:38
void findAndClose(const Comm::ConnectionPointer &conn)
Definition: pconn.cc:284
void clearHandlers(const Comm::ConnectionPointer &conn)
Definition: pconn.cc:160
int findIndexOf(const Comm::ConnectionPointer &conn) const
Definition: pconn.cc:72
Comm::ConnectionPointer findUseable(const Comm::ConnectionPointer &key)
Definition: pconn.cc:245
void push(const Comm::ConnectionPointer &conn)
Pass control of the connection to the idle list.
Definition: pconn.cc:168
int capacity_
Number of entries theList can currently hold without re-allocating (capacity).
Definition: pconn.h:83
Definition: pconn.h:169
Definition: pconn.h:113
PconnPool(const char *aDescription, const CbcPointer< PeerPoolMgr > &aMgr)
Definition: pconn.cc:383
Comm::ConnectionPointer popStored(const Comm::ConnectionPointer &dest, const char *domain, const bool keepOpen)
Definition: pconn.cc:468
static const char * key(const Comm::ConnectionPointer &destLink, const char *domain)
Definition: pconn.cc:331
void push(const Comm::ConnectionPointer &serverConn, const char *domain)
Definition: pconn.cc:412
Comm::ConnectionPointer pop(const Comm::ConnectionPointer &dest, const char *domain, bool keepOpen)
Definition: pconn.cc:449
static void Checkpoint(const Pointer &mgr, const char *reason)
Definition: PeerPoolMgr.cc:229
struct SquidConfig::@93 Timeout
Definition: Store.h:42
Definition: hash.h:23
int commSetConnTimeout(const Comm::ConnectionPointer &conn, time_t timeout, AsyncCall::Pointer &callback)
Definition: comm.cc:595
int commUnsetConnTimeout(const Comm::ConnectionPointer &conn)
Definition: comm.cc:621
SQUIDCEXTERN void hash_remove_link(hash_table *, hash_link *)
Definition: hash.cc:220
void RegisterAction(char const *action, char const *desc, OBJH *handler, int pw_req_flag, int atomic)
Definition: Registration.cc:16