Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
4e8926cc
Unverified
Commit
4e8926cc
authored
Sep 24, 2018
by
Federico G. Schwindt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Always report the ws id in lowercase
parent
562b5bc7
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
cache_http.c
bin/varnishd/cache/cache_http.c
+1
-0
r01739.vtc
bin/varnishtest/tests/r01739.vtc
+1
-1
r01990.vtc
bin/varnishtest/tests/r01990.vtc
+2
-2
No files found.
bin/varnishd/cache/cache_http.c
View file @
4e8926cc
...
@@ -102,6 +102,7 @@ http_fail(const struct http *hp)
...
@@ -102,6 +102,7 @@ http_fail(const struct http *hp)
{
{
VSC_C_main
->
losthdr
++
;
VSC_C_main
->
losthdr
++
;
hp
->
ws
->
id
[
0
]
|=
0x20
;
// cheesy tolower()
VSLb
(
hp
->
vsl
,
SLT_Error
,
"out of workspace (%s)"
,
hp
->
ws
->
id
);
VSLb
(
hp
->
vsl
,
SLT_Error
,
"out of workspace (%s)"
,
hp
->
ws
->
id
);
WS_MarkOverflow
(
hp
->
ws
);
WS_MarkOverflow
(
hp
->
ws
);
}
}
...
...
bin/varnishtest/tests/r01739.vtc
View file @
4e8926cc
...
@@ -17,7 +17,7 @@ varnish v1 -vcl+backend {
...
@@ -17,7 +17,7 @@ varnish v1 -vcl+backend {
logexpect l1 -v v1 -g raw {
logexpect l1 -v v1 -g raw {
expect * 1002 FetchError {^Workspace overflow}
expect * 1002 FetchError {^Workspace overflow}
expect * = Error {^out of workspace [(]
B
o[)]}
expect * = Error {^out of workspace [(]
b
o[)]}
} -start
} -start
client c1 {
client c1 {
...
...
bin/varnishtest/tests/r01990.vtc
View file @
4e8926cc
...
@@ -26,9 +26,9 @@ logexpect l1 -v v1 -g raw {
...
@@ -26,9 +26,9 @@ logexpect l1 -v v1 -g raw {
expect * 1002 FetchError {^out of workspace}
expect * 1002 FetchError {^out of workspace}
expect * = BerespStatus {^503}
expect * = BerespStatus {^503}
expect * = BerespReason {^Backend fetch failed}
expect * = BerespReason {^Backend fetch failed}
expect * = Error {^out of workspace [(]
B
o[)]}
expect * = Error {^out of workspace [(]
b
o[)]}
expect * = LostHeader {^Date:}
expect * = LostHeader {^Date:}
expect * = Error {^out of workspace [(]
B
o[)]}
expect * = Error {^out of workspace [(]
b
o[)]}
expect * = LostHeader {^299}
expect * = LostHeader {^299}
} -start
} -start
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment