TcpAcceptor.h
Go to the documentation of this file.
54 TcpAcceptor(const Comm::ConnectionPointer &conn, const char *note, const Subscription::Pointer &aSub);
55 TcpAcceptor(const AnyP::PortCfgPointer &listenPort, const char *note, const Subscription::Pointer &aSub);
Definition: AsyncJob.h:31
Definition: AcceptLimiter.h:29
void handleClosure(const CommCloseCbParams &io)
Definition: TcpAcceptor.cc:190
Definition: AsyncJob.h:17
Abstraction layer for TCP, UDP, TLS, UDS and filedescriptor sockets.
Definition: AcceptLimiter.h:16
bool acceptInto(Comm::ConnectionPointer &)
Definition: TcpAcceptor.cc:344
TcpAcceptor(const TcpAcceptor &)
Definition: TcpAcceptor.h:38
void notify(const Comm::Flag flag, const Comm::ConnectionPointer &details) const
Call the subscribed callback handler with details about a new connection.
Definition: TcpAcceptor.cc:320
bool intendedForUserConnections() const
whether we are listening on one of the squid.conf *ports
Definition: TcpAcceptor.h:107
static void doAccept(int fd, void *data)
Method callback for whenever an FD is ready to accept a client connection.
Definition: TcpAcceptor.cc:210
const char * status() const override
internal cleanup; do not call directly
Definition: TcpAcceptor.cc:124
AnyP::PortCfgPointer listenPort_
configuration details of the listening port (if provided)
Definition: TcpAcceptor.h:94
Definition: CommCalls.h:127
void logAcceptError(const ConnectionPointer &tcpClient) const
Definition: TcpAcceptor.cc:248
void subscribe(const Subscription::Pointer &aSub)
Definition: TcpAcceptor.cc:60
int errcode
errno code of the last accept() or listen() action if one occurred.
Definition: TcpAcceptor.h:78
Subscription::Pointer theCallSub
used to generate AsyncCalls handling our events.
Definition: TcpAcceptor.h:87
CBDATA_CHILD(TcpAcceptor)
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