--------------------- PatchSet 450 Date: 2002/12/21 00:12:01 Author: rbcollins Branch: esi Tag: (none) Log: include Members: src/ESI.cc:1.1.2.63->1.1.2.64 Index: squid3/src/ESI.cc =================================================================== RCS file: /cvsroot/squid-sf//squid3/src/ESI.cc,v retrieving revision 1.1.2.63 retrieving revision 1.1.2.64 diff -u -r1.1.2.63 -r1.1.2.64 --- squid3/src/ESI.cc 21 Dec 2002 00:00:08 -0000 1.1.2.63 +++ squid3/src/ESI.cc 21 Dec 2002 00:12:01 -0000 1.1.2.64 @@ -1,6 +1,6 @@ /* - * $Id: ESI.cc,v 1.1.2.63 2002/12/21 00:00:08 rbcollins Exp $ + * $Id: ESI.cc,v 1.1.2.64 2002/12/21 00:12:01 rbcollins Exp $ * * DEBUG: section 86 ESI processing * AUTHOR: Robert Collins @@ -296,6 +296,7 @@ bool started; bool sent; void copyLeadSegment (ESISegment *&, ESISegment &); + esiInclude(esiInclude const &); }; MemPool *esiInclude::Pool = NULL; @@ -2194,8 +2195,17 @@ ESIElement::Pointer esiInclude::makeCacheable() const { - fatal ("esiInclude not implemented\n"); - return NULL; + return new esiInclude (*this); +} + +esiInclude::esiInclude(esiInclude const &old) : parent (NULL), started (false), sent (false) +{ + context = NULL; + flags.onerrorcontinue = old.flags.onerrorcontinue; + if (old.srcurl) + srcurl = xstrdup (old.srcurl); + if (old.alturl) + alturl = xstrdup (old.alturl); } void