--------------------- PatchSet 5135 Date: 2002/09/26 06:22:21 Author: adri Branch: commloops Tag: (none) Log: Track the bytes read! Members: src/comm.c:1.21.4.5->1.21.4.6 Index: squid/src/comm.c =================================================================== RCS file: /cvsroot/squid-sf//squid/src/comm.c,v retrieving revision 1.21.4.5 retrieving revision 1.21.4.6 diff -u -r1.21.4.5 -r1.21.4.6 --- squid/src/comm.c 26 Sep 2002 06:11:10 -0000 1.21.4.5 +++ squid/src/comm.c 26 Sep 2002 06:22:21 -0000 1.21.4.6 @@ -1,6 +1,6 @@ /* - * $Id: comm.c,v 1.21.4.5 2002/09/26 06:11:10 adri Exp $ + * $Id: comm.c,v 1.21.4.6 2002/09/26 06:22:21 adri Exp $ * * DEBUG: section 5 Socket Functions * AUTHOR: Harvest Derived @@ -236,6 +236,7 @@ /* See if we read anything */ /* Note - read 0 == socket EOF, which is a valid read */ if (retval >= 0) { + fd_bytes(fd, retval, FD_READ); comm_read_callback(fd, retval, COMM_OK, 0); return; }