--------------------- PatchSet 2176 Date: 2001/05/01 23:18:36 Author: rbcollins Branch: rbcollins_filters Tag: (none) Log: fix chunky bug Members: src/transfer-encoding.c:1.1.2.1.2.8->1.1.2.1.2.9 Index: squid/src/transfer-encoding.c =================================================================== RCS file: /cvsroot/squid-sf//squid/src/Attic/transfer-encoding.c,v retrieving revision 1.1.2.1.2.8 retrieving revision 1.1.2.1.2.9 diff -u -r1.1.2.1.2.8 -r1.1.2.1.2.9 --- squid/src/transfer-encoding.c 27 Apr 2001 14:03:09 -0000 1.1.2.1.2.8 +++ squid/src/transfer-encoding.c 1 May 2001 23:18:36 -0000 1.1.2.1.2.9 @@ -121,6 +121,11 @@ debug (82,8)("dochunked: Beginning len %d off %d flags %d\n",len,offset,flags); temp_filter=filters->node.next->data; + if (flags & FILTER_HTTP_HEADER) { + /* skip the header packet - we don't care about it */ + debug (82,8)("undochunked: skipping header block\n"); + return temp_filter->filter(buf,len, offset, filter_list, temp_filter, flags, temp_filter->data); + } if (buf) { snprintf (tempbuf,sizeof(tempbuf)-1,"%X\r\n", len);