70 ERROR: Squid BUG: Job invalidated during ... that threw...
71 ERROR: Squid BUG: Job invalidated during ...
72 WARNING: Squid bug 5187 workaround triggered
67 WARNING: BCP 177 violation. IPv6 transport forced OFF by build parameters.
68 Processing Configuration File: ... (depth ...)
69 WARNING: Unsupported or unexpected from-helper annotation with a name reserved for Squid use: ...advice: If this is a custom annotation, rename it to add a trailing underscore: ...
+70 ERROR: Squid BUG: Job invalidated during ... that threw exception: ...
+71 ERROR: Squid BUG: Job invalidated during ...
+72 WARNING: Squid bug 5187 workaround triggered
\endverbatim
*/
#include "base/AsyncJob.h"
#include "base/CbcPointer.h"
+#include "debug/Messages.h"
#include "debug/Stream.h"
/**
debugs(call.debugSection, 3,
call.name << " threw exception: " << e.what());
if (!job) {
- debugs(call.debugSection, DBG_CRITICAL, "ERROR: Squid BUG: Job invalidated during " <<
+ debugs(call.debugSection, Critical(70), "ERROR: Squid BUG: Job invalidated during " <<
call.name << " that threw exception: " << e.what());
return; // see also: bug 4981, commit e3b6f15, and XXX in Http::Stream class description
}
}
if (!job) {
- debugs(call.debugSection, DBG_CRITICAL, "ERROR: Squid BUG: Job invalidated during " << call.name);
+ debugs(call.debugSection, Critical(71), "ERROR: Squid BUG: Job invalidated during " << call.name);
return;
}
job->callEnd(); // may delete job
#include "clientStream.h"
#include "comm/Connection.h"
#include "comm/Write.h"
+#include "debug/Messages.h"
#include "error/Detail.h"
#include "errorpage.h"
#include "fd.h"
// XXX: Setting receivedWholeAdaptedReply here is a workaround for a
// regression, as described in https://bugs.squid-cache.org/show_bug.cgi?id=5187#c6
receivedWholeAdaptedReply = true;
- debugs(85, DBG_IMPORTANT, "WARNING: Squid bug 5187 workaround triggered");
+ debugs(85, Important(72), "WARNING: Squid bug 5187 workaround triggered");
endRequestSatisfaction();
}
// else wait for more body data
};
/// The maximum used DebugMessage::id plus 1. Increase as you add new IDs.
-constexpr DebugMessageId DebugMessageIdUpperBound = 70;
+constexpr DebugMessageId DebugMessageIdUpperBound = 73;
/// a collection of DebugMessage objects (with fast access by message IDs)
class DebugMessages