You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Message from VCC-compiler:
Assert error in vcc_Eval_Var(), vcc_expr.c line 373:
Condition(sym->kind == SYM_VAR) not true.
Running VCC-compiler failed, signal 6, core dumped
VCL compilation failed
Possible Solution
No response
Steps to Reproduce (for bugs)
Compile the following VCL:
vcl 4.1;
backend default none;
sub vcl_recv {
if (req.http.0) {}
}
Context
I had old test cases laying around and found them failing when upgrading Varnish. I understand Varnish is now stricter wrt HTTP headers since a recent upgrade. I'll update the test case, but it might be clearer for users to have an error message rather than an assert.
Varnish Cache version
7.3.0
Operating system
No response
Source of binary packages used (if any)
No response
The text was updated successfully, but these errors were encountered:
dridi
added a commit
to dridi/varnish-cache
that referenced
this issue
Jul 20, 2023
I understand Varnish is now stricter wrt HTTP headers since a recent upgrade.
Yes and no.
There is stricter validation but "0" is a valid header name, but an invalid VCL symbol name. You can quote such header names, so we actually have better support for the HTTP grammar for header fields.
Expected Behavior
VCC fails with a friendly error message.
Current Behavior
VCC fails with:
Possible Solution
No response
Steps to Reproduce (for bugs)
Compile the following VCL:
Context
I had old test cases laying around and found them failing when upgrading Varnish. I understand Varnish is now stricter wrt HTTP headers since a recent upgrade. I'll update the test case, but it might be clearer for users to have an error message rather than an assert.
Varnish Cache version
7.3.0
Operating system
No response
Source of binary packages used (if any)
No response
The text was updated successfully, but these errors were encountered: