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
52188d04
Commit
52188d04
authored
Sep 23, 2013
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Default vcc_allow_inline_c to false in V4
parent
d65d7c73
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
9 additions
and
7 deletions
+9
-7
mgt_param_tbl.c
bin/varnishd/mgt/mgt_param_tbl.c
+1
-1
c00052.vtc
bin/varnishtest/tests/c00052.vtc
+1
-1
c00055.vtc
bin/varnishtest/tests/c00055.vtc
+1
-1
c00057.vtc
bin/varnishtest/tests/c00057.vtc
+3
-1
r00742.vtc
bin/varnishtest/tests/r00742.vtc
+1
-1
v00019.vtc
bin/varnishtest/tests/v00019.vtc
+1
-1
v00020.vtc
bin/varnishtest/tests/v00020.vtc
+1
-1
No files found.
bin/varnishd/mgt/mgt_param_tbl.c
View file @
52188d04
...
@@ -522,7 +522,7 @@ const struct parspec mgt_parspec[] = {
...
@@ -522,7 +522,7 @@ const struct parspec mgt_parspec[] = {
{
"vcc_allow_inline_c"
,
tweak_bool
,
&
mgt_vcc_allow_inline_c
,
0
,
0
,
{
"vcc_allow_inline_c"
,
tweak_bool
,
&
mgt_vcc_allow_inline_c
,
0
,
0
,
"Allow inline C code in VCL.
\n
"
,
"Allow inline C code in VCL.
\n
"
,
0
,
0
,
"o
n
"
,
"bool"
},
"o
ff
"
,
"bool"
},
{
"vcc_unsafe_path"
,
tweak_bool
,
&
mgt_vcc_unsafe_path
,
0
,
0
,
{
"vcc_unsafe_path"
,
tweak_bool
,
&
mgt_vcc_unsafe_path
,
0
,
0
,
"Allow '/' in vmod & include paths.
\n
"
"Allow '/' in vmod & include paths.
\n
"
...
...
bin/varnishtest/tests/c00052.vtc
View file @
52188d04
...
@@ -7,7 +7,7 @@ server s1 {
...
@@ -7,7 +7,7 @@ server s1 {
varnish v1
varnish v1
varnish v1 -cliok "param.s
how vcc_allow_inline_c
"
varnish v1 -cliok "param.s
et vcc_allow_inline_c true
"
varnish v1 -vcl+backend {
varnish v1 -vcl+backend {
C{ getpid(); }C
C{ getpid(); }C
...
...
bin/varnishtest/tests/c00055.vtc
View file @
52188d04
...
@@ -10,7 +10,7 @@ server s1 {
...
@@ -10,7 +10,7 @@ server s1 {
txresp -status 200 -hdr "Foo: Foo" -body "56"
txresp -status 200 -hdr "Foo: Foo" -body "56"
} -start
} -start
varnish v1 -vcl+backend {
varnish v1 -
cliok "param.set vcc_allow_inline_c true" -
vcl+backend {
sub vcl_recv {
sub vcl_recv {
C{ VRT_CacheReqBody(ctx, 1000); }C
C{ VRT_CacheReqBody(ctx, 1000); }C
return (pass);
return (pass);
...
...
bin/varnishtest/tests/c00057.vtc
View file @
52188d04
...
@@ -5,7 +5,9 @@ server s1 {
...
@@ -5,7 +5,9 @@ server s1 {
txresp
txresp
} -start
} -start
varnish v1 -cliok "param.set sigsegv_handler on" -vcl+backend {
varnish v1 -cliok "param.set vcc_allow_inline_c true"
varnish v1 -cliok "param.set sigsegv_handler on"
varnish v1 -vcl+backend {
C{
C{
#include <signal.h>
#include <signal.h>
#include <stdlib.h>
#include <stdlib.h>
...
...
bin/varnishtest/tests/r00742.vtc
View file @
52188d04
...
@@ -5,7 +5,7 @@ server s1 {
...
@@ -5,7 +5,7 @@ server s1 {
txresp
txresp
} -start
} -start
varnish v1 -vcl+backend {
varnish v1 -
cliok "param.set vcc_allow_inline_c true" -
vcl+backend {
C{
C{
void foo(void)
void foo(void)
{
{
...
...
bin/varnishtest/tests/v00019.vtc
View file @
52188d04
...
@@ -23,7 +23,7 @@ varnish v1 -errvcl {Unterminated string at} {
...
@@ -23,7 +23,7 @@ varnish v1 -errvcl {Unterminated string at} {
"
"
}
}
varnish v1 -vcl {
varnish v1 -
cliok "param.set vcc_allow_inline_c true" -
vcl {
backend b { .host = "127.0.0.1"; }
backend b { .host = "127.0.0.1"; }
sub vcl_recv { C{ int i; (void)i; }C }
sub vcl_recv { C{ int i; (void)i; }C }
}
}
...
...
bin/varnishtest/tests/v00020.vtc
View file @
52188d04
varnishtest "VCL compiler coverage test: vcc_parse.c & vcc_expr.c"
varnishtest "VCL compiler coverage test: vcc_parse.c & vcc_expr.c"
varnish v1 -vcl {
varnish v1 -
cliok "param.set vcc_allow_inline_c true" -
vcl {
backend b { .host = "127.0.0.1"; }
backend b { .host = "127.0.0.1"; }
C{
C{
#include <stdio.h>
#include <stdio.h>
...
...
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