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
3731e9f9
Commit
3731e9f9
authored
Jul 20, 2023
by
Dridi Boukelmoune
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vcc: Remove stale assertion
Fixes #3960
parent
6a3775fa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
r03960.vtc
bin/varnishtest/tests/r03960.vtc
+9
-0
vcc_expr.c
lib/libvcc/vcc_expr.c
+0
-1
No files found.
bin/varnishtest/tests/r03960.vtc
0 → 100644
View file @
3731e9f9
varnishtest "invalid header name on RHS"
varnish v1 -errvcl "Expected ID got '0'" {
vcl 4.1;
backend default none;
sub vcl_recv {
if (req.http.0) {}
}
}
lib/libvcc/vcc_expr.c
View file @
3731e9f9
...
...
@@ -370,7 +370,6 @@ vcc_Eval_Var(struct vcc *tl, struct expr **e, struct token *t,
{
(
void
)
type
;
assert
(
sym
->
kind
==
SYM_VAR
);
vcc_AddUses
(
tl
,
t
,
NULL
,
sym
,
XREF_READ
);
ERRCHK
(
tl
);
*
e
=
vcc_mk_expr
(
sym
->
type
,
"%s"
,
sym
->
rname
);
...
...
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