Go to the documentation of this file.
163 long handle = (long)
nullptr;
189 #define fd_table fde::Table
bool read_pending
buffering readMethod_ has data to give (regardless of socket state)
std::shared_ptr< SSL_CTX > ContextPointer
int WRITE_HANDLER(int, const char *, int)
static fde * Table
global table of FD and their state.
unsigned int nfConnmarkFromServer
static void DumpStats(StoreEntry *)
ClientInfo * clientInfo
pointer to client info used in client write limiter or nullptr if not present
Security::SessionPointer ssl
read handler for half-closed fds
WRITE_HANDLER * writeMethod_
exports Squid bytes
unsigned short remote_port
int READ_HANDLER(int, char *, int)
int write(int fd, const char *buf, int len)
void noteUse()
record a transaction on this FD
bool close_request
true if file_ or comm_close has been called
#define MAX_IPSTRLEN
Length of buffer that needs to be allocated to old a null-terminated IP-string.
bool readPending(int) const
AsyncCall::Pointer closeHandler
struct fde::_fde_flags flags
int FD_WRITE_METHOD(int fd, const char *buf, int len)
void dumpStats(StoreEntry &, int) const
int FD_READ_METHOD(int fd, char *buf, int len)
AsyncCall::Pointer halfClosedReader
std::shared_ptr< SSL > SessionPointer
char const * remoteAddr() const
void setIo(READ_HANDLER *, WRITE_HANDLER *)
set I/O methods for a freshly opened descriptor
CodeContextPointer codeContext
What the I/O handlers are supposed to work on.
READ_HANDLER * readMethod_
imports bytes into Squid
bool closing() const
True if comm_close for this fd has been called.
int unsigned int const char *desc STUB void int len
void clear()
Clear the fde class back to NULL equivalent.
void useBufferedIo(READ_HANDLER *, WRITE_HANDLER *)
use I/O methods that maintain an internal-to-them buffer
AsyncCall::Pointer timeoutHandler
MessageBucket::Pointer writeQuotaHandler
response write limiter, if configured
int read(int fd, char *buf, int len)
char ipaddr[MAX_IPSTRLEN]
void DWCB(int, int, size_t, void *)
Security::ContextPointer dynamicTlsContext
cached and then freed when fd is closed