--------------------- PatchSet 2805 Date: 2001/08/22 10:39:19 Author: rbcollins Branch: external_logger Tag: (none) Log: assert if the log file helper side socket is read from Members: src/logfile.c:1.5.22.4->1.5.22.5 Index: squid/src/logfile.c =================================================================== RCS file: /cvsroot/squid-sf//squid/src/logfile.c,v retrieving revision 1.5.22.4 retrieving revision 1.5.22.5 diff -u -r1.5.22.4 -r1.5.22.5 --- squid/src/logfile.c 14 Aug 2001 09:02:04 -0000 1.5.22.4 +++ squid/src/logfile.c 22 Aug 2001 10:39:19 -0000 1.5.22.5 @@ -162,6 +162,8 @@ void logfileWrite(Logfile * lf, void *buf, size_t len) { + /* Debugging only - remove once the data loss reason is known */ + assert (fd_table[lf->ipccomm.crfd].bytes_read == 0); if (0 == lf->bufsz) { /* buffering disabled */ logfileWriteWrapper(lf, buf, len);