Loops.h File Reference
#include "comm/Flag.h"
#include "comm/forward.h"
#include "defines.h"
Include dependency graph for Loops.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


 Abstraction layer for TCP, UDP, TLS, UDS and filedescriptor sockets.


#define INCOMING_UDP_MAX   15
#define INCOMING_DNS_MAX   15
#define INCOMING_TCP_MAX   10


void Comm::SelectLoopInit (void)
 Initialize the module on Squid startup. More...
void Comm::ResetSelect (int fd)
 reset/undo/unregister the watch for an FD which was set by Comm::SetSelect() More...
Comm::Flag Comm::DoSelect (int)
 Do poll and trigger callback functions as appropriate. More...
void Comm::QuickPollRequired (void)

Macro Definition Documentation


#define INCOMING_DNS_MAX   15

Max number of DNS messages to receive per call to DNS read handler

Definition at line 59 of file Loops.h.

Referenced by comm_poll_dns_incoming(), comm_select_dns_incoming(), idnsRead(), and statCountersInitSpecial().


#define INCOMING_TCP_MAX   10

Max number of new TCP connections to accept per call to the TCP listener poller. This is a per-port limit for HTTP/HTTPS ports.

Definition at line 69 of file Loops.h.

Referenced by comm_poll_tcp_incoming(), comm_select_tcp_incoming(), and statCountersInitSpecial().



Definition at line 71 of file Loops.h.


#define INCOMING_UDP_MAX   15

Max number of UDP messages to receive per call to the UDP receive poller. This is a per-port limit for ICP/HTCP ports. DNS has a separate limit.

Definition at line 50 of file Loops.h.

Referenced by comm_poll_udp_incoming(), comm_select_udp_incoming(), icpHandleUdp(), and statCountersInitSpecial().






Web Site Translations