--------------------- PatchSet 6572 Date: 2005/03/30 15:18:52 Author: chtsanti Branch: icap-2_5 Tag: (none) Log: Corrections related with large file support ... Members: src/icap_reqmod.c:1.1.2.38->1.1.2.39 Index: squid/src/icap_reqmod.c =================================================================== RCS file: /cvsroot/squid-sf//squid/src/Attic/icap_reqmod.c,v retrieving revision 1.1.2.38 retrieving revision 1.1.2.39 diff -u -r1.1.2.38 -r1.1.2.39 --- squid/src/icap_reqmod.c 20 Mar 2005 18:11:47 -0000 1.1.2.38 +++ squid/src/icap_reqmod.c 30 Mar 2005 15:18:52 -0000 1.1.2.39 @@ -1,6 +1,6 @@ /* - * $Id: icap_reqmod.c,v 1.1.2.38 2005/03/20 18:11:47 chtsanti Exp $ + * $Id: icap_reqmod.c,v 1.1.2.39 2005/03/30 15:18:52 chtsanti Exp $ * * DEBUG: section 81 Internet Content Adaptation Protocol (ICAP) Client * AUTHOR: Geetha Manjunath, Hewlett Packard Company @@ -131,7 +131,7 @@ /* * bits from clientReadRequest */ - request->content_length = httpHeaderGetInt(&request->header, + request->content_length = httpHeaderGetSize(&request->header, HDR_CONTENT_LENGTH); if (!urlCheckRequest(request) || httpHeaderHas(&request->header, HDR_TRANSFER_ENCODING)) { @@ -373,7 +373,7 @@ } } else if (icap->reqmod.http_entity.bytes_read != icap->request->content_length) { - debug(81, 3) ("%s:%d bytes_read (%d) != content_length (%d)\n", + debug(81, 3) ("%s:%d bytes_read (%d) != content_length (%ld)\n", __FILE__, __LINE__, icap->reqmod.http_entity.bytes_read, icap->request->content_length); /* an error */