cachemail@procache.com wrote:
>
> Dear All,
> In the comm_select, there are special code for icp and http, and we
> check them at the beginging by using comm_select_icp_incoming and
> comm_select_http_incoming, each one has its own select. In the main
> part of comm_select we use another select. In some parts of there codes
> there are some commDeferRead()s. I have some questions as follow:
>
> 1) Why there are seperated part for select and is it possible to
> use just one select instead?
Because these are checked more often than the other filedescriptors.
>
> 2) Why do we use seperated commDeferRead()s in each part? There
> are
> commDeferRead()s after the main select(). I think before
> the select and after that we check the commDeferRead().
> Why? Is it possible to do it just once?
It is called per connection.
-- Henrik Nordstrom Squid hackerReceived on Sat Feb 24 2001 - 12:59:15 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:13:34 MST