Loops.h File Reference
#include "comm/Flag.h"
#include "comm/forward.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)
 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 54 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 64 of file Loops.h.

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


Definition at line 66 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 45 of file Loops.h.

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






Web Site Translations