--------------------- PatchSet 4775 Date: 2002/08/25 10:07:20 Author: rbcollins Branch: esi Tag: (none) Log: Cleanup of TODO's Members: src/ESI.c:1.1.2.25->1.1.2.26 Index: squid/src/ESI.c =================================================================== RCS file: /cvsroot/squid-sf//squid/src/Attic/ESI.c,v retrieving revision 1.1.2.25 retrieving revision 1.1.2.26 diff -u -r1.1.2.25 -r1.1.2.26 --- squid/src/ESI.c 25 Aug 2002 09:58:25 -0000 1.1.2.25 +++ squid/src/ESI.c 25 Aug 2002 10:07:20 -0000 1.1.2.26 @@ -1,6 +1,6 @@ /* - * $Id: ESI.c,v 1.1.2.25 2002/08/25 09:58:25 rbcollins Exp $ + * $Id: ESI.c,v 1.1.2.26 2002/08/25 10:07:20 rbcollins Exp $ * * DEBUG: section 86 ESI processing * AUTHOR: Robert Collins @@ -83,7 +83,6 @@ */ /* TODO: remove invalid markup (silently swallow markup in invalid locations - * TODO: Set Vary: when using Variables. * * * NOT TODO: esi:inline - out of scope. @@ -659,7 +658,10 @@ /* Process incoming data for ESI tags */ /* ESI TODO: Long term: we should have a framework to parse html/xml and * callback to a set of processors like this, to prevent multiple parsing - * overhead + * overhead. More thoughts on this: We have to parse multiple times, because + * the output of one processor may create a very different tree. What we could + * do is something like DOM and pass that down to a final renderer. This is + * getting into web server territory though... * * Preconditions: * This is not the last node in the stream. @@ -1041,7 +1043,6 @@ if (!strncmp(s, "esi",3)) { XML_Parser p; debug (86,5)("esiExpatComment: ESI