--------------------- PatchSet 2177 Date: 2001/05/01 23:24:28 Author: rbcollins Branch: rbcollins_filters Tag: (none) Log: fix chunky bug Members: src/client_side.c:1.1.1.3.4.1.4.15.2.34->1.1.1.3.4.1.4.15.2.35 src/transfer-encoding.c:1.1.2.1.2.9->1.1.2.1.2.10 Index: squid/src/client_side.c =================================================================== RCS file: /cvsroot/squid-sf//squid/src/client_side.c,v retrieving revision 1.1.1.3.4.1.4.15.2.34 retrieving revision 1.1.1.3.4.1.4.15.2.35 diff -u -r1.1.1.3.4.1.4.15.2.34 -r1.1.1.3.4.1.4.15.2.35 --- squid/src/client_side.c 27 Apr 2001 14:38:37 -0000 1.1.1.3.4.1.4.15.2.34 +++ squid/src/client_side.c 1 May 2001 23:24:28 -0000 1.1.1.3.4.1.4.15.2.35 @@ -1,6 +1,6 @@ /* - * $Id: client_side.c,v 1.1.1.3.4.1.4.15.2.34 2001/04/27 14:38:37 rbcollins Exp $ + * $Id: client_side.c,v 1.1.1.3.4.1.4.15.2.35 2001/05/01 23:24:28 rbcollins Exp $ * * DEBUG: section 33 Client-side Routines * AUTHOR: Duane Wessels @@ -1386,7 +1386,7 @@ request_t *request = http->request; /* add the header check & forward filter */ - filterChainAdd(&http->repfilters,identity_body, clientWriteReplyHeaders, NULL,http); + filterChainAdd(&http->repfilters, clientWriteReplyHeaders, clientWriteReplyHeaders, NULL,http); #if DONT_FILTER_THESE 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.9 retrieving revision 1.1.2.1.2.10 diff -u -r1.1.2.1.2.9 -r1.1.2.1.2.10 --- squid/src/transfer-encoding.c 1 May 2001 23:18:36 -0000 1.1.2.1.2.9 +++ squid/src/transfer-encoding.c 1 May 2001 23:24:28 -0000 1.1.2.1.2.10 @@ -459,7 +459,7 @@ state=xmalloc(sizeof(dochunk_state)); state->read_offset=0; state->write_offset=0; - filterChainAddTail(&temp_list,dochunked, identity_header, dochunked_remove,state); + filterChainAddTail(&temp_list,dochunked, dochunked_remove, dochunked_remove,state); strcat(vlb, "chunked"); httpHeaderPutStr(hdr, HDR_TRANSFER_ENCODING, vlb); httpHeaderDelById(hdr, HDR_CONTENT_LENGTH);