Shailen Randhir Pandya wrote:
>
> I'll be very thankful if someone can answer the following 2 questions
> about squid's source code -
> (1) What is the role of the function
> commDeferRead(int fd)
> in the file comm_select.c?
The owner of a filedescriptor can register a defer function, that will
delay processing on that filedescriptor. Used for example to defer
reading of server connections when there isn't enought bufferspace
between the server and client connections.
> (2) What is the purpose of the macros POLLRDNORM & POLLWRNORM?
These are standard poll() events matching normal read or write events.
Some older poll() implementations do not have these, so we fall back on
POLLIN if POLLRDNORM isn't defined. (and similary POLLOUT if POLLWRNORM
isn't defined).
Regards
Henrik Nordstrom
Squid Hacker
MARA Systems AB, Sweden
Received on Mon Sep 24 2001 - 01:05:57 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:22 MST