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.

Namespaces

namespace  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 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

◆ INCOMING_DNS_MAX

#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.

◆ INCOMING_TCP_MAX

#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.

◆ INCOMING_TOTAL_MAX

#define INCOMING_TOTAL_MAX   (INCOMING_TCP_MAX+INCOMING_UDP_MAX+INCOMING_DNS_MAX)

Definition at line 71 of file Loops.h.

◆ INCOMING_UDP_MAX

#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.

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors