--------------------- PatchSet 12073 Date: 2008/04/25 19:42:54 Author: hno Branch: SQUID_2_7 Tag: (none) Log: Author: Alexander Lukyanov Bug 2329: Range header ignored on HIT Members: src/HttpHdrRange.c:1.28.6.1->1.28.6.2 Index: squid/src/HttpHdrRange.c =================================================================== RCS file: /cvsroot/squid/squid/src/HttpHdrRange.c,v retrieving revision 1.28.6.1 retrieving revision 1.28.6.2 diff -u -r1.28.6.1 -r1.28.6.2 --- squid/src/HttpHdrRange.c 17 Mar 2008 23:24:25 -0000 1.28.6.1 +++ squid/src/HttpHdrRange.c 25 Apr 2008 19:42:54 -0000 1.28.6.2 @@ -1,6 +1,6 @@ /* - * $Id: HttpHdrRange.c,v 1.28.6.1 2008/03/17 23:24:25 hno Exp $ + * $Id: HttpHdrRange.c,v 1.28.6.2 2008/04/25 19:42:54 hno Exp $ * * DEBUG: section 64 HTTP Range Header * AUTHOR: Alex Rousskov @@ -242,7 +242,7 @@ if (strNCaseCmp(*str, "bytes=", 6)) return 0; /* skip "bytes="; hack! */ - pos = strBuf(*str) + 5; + pos = strBuf(*str) + 6; /* iterate through comma separated list */ while (strListGetItem(str, ',', &item, &ilen, &pos)) { HttpHdrRangeSpec *spec = httpHdrRangeSpecParseCreate(item, ilen);