~ubuntu-branches/ubuntu/jaunty/squid3/jaunty-security

« back to all changes in this revision

Viewing changes to src/ESI.cc

  • Committer: Bazaar Package Importer
  • Author(s): Luigi Gangitano
  • Date: 2008-04-03 01:34:07 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20080403013407-g4ppxoyao3efx50n
Tags: 3.0.STABLE4-1

New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
 
2
2
/*
3
 
 * $Id: ESI.cc,v 1.26 2007/08/27 12:50:42 hno Exp $
 
3
 * $Id: ESI.cc,v 1.26.2.2 2008/02/25 23:08:50 amosjeffries Exp $
4
4
 *
5
5
 * DEBUG: section 86    ESI processing
6
6
 * AUTHOR: Robert Collins
35
35
 */
36
36
 
37
37
#include "squid.h"
 
38
 
 
39
/* MS Visual Studio Projects are monolithic, so we need the following
 
40
 * #if to exclude the ESI code from compile process when not needed.
 
41
 */
 
42
#if (USE_SQUID_ESI == 1)
 
43
 
38
44
#include "ESI.h"
39
45
#include "clientStream.h"
40
46
#include "client_side_request.h"
1560
1566
    assert (s);
1561
1567
    buffer = new ESISegment;
1562
1568
    ESISegment::Pointer local = buffer;
1563
 
    off_t start = 0;
 
1569
    size_t start = 0;
1564
1570
    int remainingCharacters = numberOfCharacters;
1565
1571
 
1566
1572
    while (remainingCharacters > 0) {
2459
2465
    return rv;
2460
2466
}
2461
2467
 
2462
 
 
 
2468
#endif /* USE_SQUID_ESI == 1 */