* Copyright (c) 2003, Robert Collins <robertc@squid-cache.org>
*/
-#include "squid-old.h"
+#include "squid.h"
+#include "Debug.h"
+#include "fatal.h"
/* MS Visual Studio Projects are monolithic, so we need the following
* #if to exclude the ESI code from compile process when not needed.
parent = NULL;
}
-
void
esiSequence::provideData (ESISegment::Pointer data, ESIElement *source)
{
debugs(86, 5, "esiSequence::provideData: " << this << " data provided during processing");
debugs(86, 5, "esiSequence::provideData " << this << " " << data.getRaw() << " " << source);
-
/* when data is provided, the element *must* be completed */
/* XXX: when the callback model is complete,
* we can introduce 'finished'. And then this rule can be
if (dynamic_cast<esiAttempt*>(element.getRaw()) ||
dynamic_cast<esiExcept*>(element.getRaw())) {
- debugs(86, 0, "esiSequenceAdd: misparented Attempt or Except element (section 3.4)");
+ debugs(86, DBG_CRITICAL, "esiSequenceAdd: misparented Attempt or Except element (section 3.4)");
return false;
}