Bug 2922: Fix assertion failed: HttpHeader.cc: "Headers[id].stat.aliveCount"
Fixed header accounting to avoid the "Headers[id].stat.aliveCount" assertion.
We were incrementing the alive header field counter twice for each decrement,
which probably resulted in the alive counter wrapping back to zero, triggering
the assertion.
Headers[id].stat.seenCount++;
- Headers[id].stat.aliveCount++;
-
debugs(55, 9, "parsed HttpHeaderEntry: '" << name.buf() << ": " << value.buf() << "'");
return new HttpHeaderEntry(id, name.buf(), value.buf());