Re: double-socket statistics in comm.c ?

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
Date: Fri, 27 Jun 2008 07:36:36 +0200

On fre, 2008-06-27 at 13:05 +0800, Adrian Chadd wrote:
> This is from src/comm.c on squid-2.HEAD in commResetFD():
>
> statCounter.syscalls.sock.sockets++;
> fd2 = socket(AF_INET, SOCK_STREAM, 0);
> statCounter.syscalls.sock.sockets++;
>
> Is there a reason for the statistics to be double-incremented?

Not that I can think of.

Regards
HenrĂ­k

Received on Fri Jun 27 2008 - 05:36:45 MDT

This archive was generated by hypermail 2.2.0 : Fri Jun 27 2008 - 12:00:07 MDT