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.

Namespaces

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

Macros

#define INCOMING_UDP_MAX   15
 
#define INCOMING_DNS_MAX   15
 
#define INCOMING_TCP_MAX   10
 
#define INCOMING_TOTAL_MAX   (INCOMING_TCP_MAX+INCOMING_UDP_MAX+INCOMING_DNS_MAX)
 

Functions

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().

#define INCOMING_TOTAL_MAX   (INCOMING_TCP_MAX+INCOMING_UDP_MAX+INCOMING_DNS_MAX)

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().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors