Commit 23414442 authored by Federico G. Schwindt's avatar Federico G. Schwindt Committed by Dridi Boukelmoune

Always report the ws id in lowercase

parent 5b146b2e
......@@ -102,6 +102,7 @@ http_fail(const struct http *hp)
{
VSC_C_main->losthdr++;
hp->ws->id[0] |= 0x20; // cheesy tolower()
VSLb(hp->vsl, SLT_Error, "out of workspace (%s)", hp->ws->id);
WS_MarkOverflow(hp->ws);
}
......
......@@ -17,7 +17,7 @@ varnish v1 -vcl+backend {
logexpect l1 -v v1 -g raw {
expect * 1002 FetchError {^Workspace overflow}
expect * = Error {^out of workspace [(]Bo[)]}
expect * = Error {^out of workspace [(]bo[)]}
} -start
client c1 {
......
......@@ -26,9 +26,9 @@ logexpect l1 -v v1 -g raw {
expect * 1002 FetchError {^out of workspace}
expect * = BerespStatus {^503}
expect * = BerespReason {^Backend fetch failed}
expect * = Error {^out of workspace [(]Bo[)]}
expect * = Error {^out of workspace [(]bo[)]}
expect * = LostHeader {^Date:}
expect * = Error {^out of workspace [(]Bo[)]}
expect * = Error {^out of workspace [(]bo[)]}
expect * = LostHeader {^299}
} -start
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment