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
7d2c77ac
Commit
7d2c77ac
authored
Oct 25, 2017
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add all the stuff I thought would be in
4c356d69
parent
55e56b36
Changes
13
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
21 additions
and
26 deletions
+21
-26
cache.h
bin/varnishd/cache/cache.h
+0
-1
cache_busyobj.c
bin/varnishd/cache/cache_busyobj.c
+0
-1
cache_http.c
bin/varnishd/cache/cache_http.c
+0
-1
cache_mempool.c
bin/varnishd/cache/cache_mempool.c
+0
-1
common_vsc.c
bin/varnishd/common/common_vsc.c
+2
-2
storage_persistent_subr.c
bin/varnishd/storage/storage_persistent_subr.c
+0
-1
vrt.h
include/vrt.h
+3
-0
vsl_glob_test.c
lib/libvarnishapi/vsl_glob_test.c
+16
-11
vsctool.py
lib/libvcc/vsctool.py
+0
-3
base64.c
lib/libvmod_blob/base64.c
+0
-1
id.c
lib/libvmod_blob/id.c
+0
-1
vmod_blob.c
lib/libvmod_blob/vmod_blob.c
+0
-2
wb.c
lib/libvmod_blob/wb.c
+0
-1
No files found.
bin/varnishd/cache/cache.h
View file @
7d2c77ac
...
...
@@ -39,7 +39,6 @@
#include <math.h>
#include <pthread.h>
#include <stdarg.h>
#include <stdint.h>
#include <sys/types.h>
#include "vdef.h"
...
...
bin/varnishd/cache/cache_busyobj.c
View file @
7d2c77ac
...
...
@@ -32,7 +32,6 @@
#include "config.h"
#include <stddef.h>
#include <stdlib.h>
#include "cache_varnishd.h"
...
...
bin/varnishd/cache/cache_http.c
View file @
7d2c77ac
...
...
@@ -31,7 +31,6 @@
#include "config.h"
#include <stddef.h>
#include "cache_varnishd.h"
#include <stdio.h>
...
...
bin/varnishd/cache/cache_mempool.c
View file @
7d2c77ac
...
...
@@ -30,7 +30,6 @@
#include "config.h"
#include <stddef.h>
#include "cache_varnishd.h"
#include <stdio.h>
...
...
bin/varnishd/common/common_vsc.c
View file @
7d2c77ac
...
...
@@ -31,18 +31,18 @@
#include <errno.h>
#include <stdarg.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "vdef.h"
#include "vrt.h"
#include "miniobj.h"
#include "vas.h"
#include "vend.h"
#include "vgz.h"
#include "vmb.h"
#include "vrt.h"
#include "vsmw.h"
#include "vqueue.h"
#include "vapi/vsc_int.h"
...
...
bin/varnishd/storage/storage_persistent_subr.c
View file @
7d2c77ac
...
...
@@ -35,7 +35,6 @@
#include "config.h"
#include <stddef.h>
#include "cache/cache_varnishd.h"
#include "common/heritage.h"
...
...
include/vrt.h
View file @
7d2c77ac
...
...
@@ -89,6 +89,9 @@
/***********************************************************************/
#include <stddef.h> // NULL, size_t
#include <stdint.h> // [u]int%d_t
struct
VCL_conf
;
struct
busyobj
;
struct
director
;
...
...
lib/libvarnishapi/vsl_glob_test.c
View file @
7d2c77ac
...
...
@@ -41,7 +41,7 @@
#include "vas.h"
#ifndef FNM_CASEFOLD
#define FNM_CASEFOLD FNM_IGNORECASE
#
define FNM_CASEFOLD FNM_IGNORECASE
#endif
static
void
...
...
@@ -53,7 +53,7 @@ cb(int tag, void *priv)
}
static
int
tst_one
(
const
char
*
p
)
tst_one
_glob
(
const
char
*
p
)
{
int
i
;
...
...
@@ -69,18 +69,23 @@ main(int argc, char * const *argv)
int
i
,
j
;
if
(
argc
==
1
)
{
i
=
tst_one
(
"Req*"
);
i
=
tst_one
_glob
(
"Req*"
);
assert
(
i
==
10
);
j
=
tst_one
(
"reQ*"
);
j
=
tst_one
_glob
(
"reQ*"
);
assert
(
i
==
j
);
assert
(
tst_one
(
"*Header"
)
>
0
);
assert
(
tst_one
(
"Req*eader"
)
==
1
);
assert
(
tst_one
(
"*"
)
>
0
);
assert
(
tst_one
(
"a*b*c"
)
==
-
3
);
assert
(
tst_one
(
"**"
)
==
-
3
);
assert
(
tst_one
(
"_"
)
==
-
1
);
assert
(
tst_one
(
""
)
==
-
1
);
assert
(
tst_one_glob
(
"*Header"
)
>
0
);
assert
(
tst_one_glob
(
"Req*eader"
)
==
1
);
assert
(
tst_one_glob
(
"xyz*y"
)
==
-
1
);
assert
(
tst_one_glob
(
"*"
)
>
0
);
assert
(
tst_one_glob
(
"a*b*c"
)
==
-
3
);
assert
(
tst_one_glob
(
"**"
)
==
-
3
);
assert
(
tst_one_glob
(
"_"
)
==
-
1
);
assert
(
tst_one_glob
(
""
)
==
-
1
);
assert
(
VSL_Glob2Tags
(
""
,
0
,
cb
,
NULL
)
==
-
1
);
assert
(
VSL_List2Tags
(
"Req*,Resp*"
,
-
1
,
cb
,
NULL
)
>
0
);
assert
(
VSL_List2Tags
(
",,,"
,
-
1
,
cb
,
NULL
)
==
-
1
);
assert
(
VSL_List2Tags
(
"xyzzy,,xyzzy"
,
-
1
,
cb
,
NULL
)
==
-
1
);
return
(
0
);
}
if
(
argc
!=
2
)
{
...
...
lib/libvcc/vsctool.py
View file @
7d2c77ac
...
...
@@ -172,10 +172,7 @@ class vscset(object):
fo
=
open
(
fon
,
"w"
)
genhdr
(
fo
,
self
.
name
)
fo
.
write
(
'#include "config.h"
\n
'
)
fo
.
write
(
'#include <stddef.h>
\n
'
)
fo
.
write
(
'#include <stdarg.h>
\n
'
)
fo
.
write
(
'#include <stdio.h>
\n
'
)
fo
.
write
(
'#include <stdint.h>
\n
'
)
fo
.
write
(
'#include "vdef.h"
\n
'
)
fo
.
write
(
'#include "vas.h"
\n
'
)
fo
.
write
(
'#include "vrt.h"
\n
'
)
...
...
lib/libvmod_blob/base64.c
View file @
7d2c77ac
...
...
@@ -28,7 +28,6 @@
#include "config.h"
#include <errno.h>
#include <stdint.h>
#include "base64.h"
...
...
lib/libvmod_blob/id.c
View file @
7d2c77ac
...
...
@@ -29,7 +29,6 @@
#include "config.h"
#include <string.h>
#include <errno.h>
#include <stdint.h>
#include "vmod_blob.h"
...
...
lib/libvmod_blob/vmod_blob.c
View file @
7d2c77ac
...
...
@@ -28,10 +28,8 @@
#include "config.h"
#include <errno.h>
#include <pthread.h>
#include <string.h>
#include "vdef.h"
#include "cache/cache.h"
#include "vcc_if.h"
...
...
lib/libvmod_blob/wb.c
View file @
7d2c77ac
...
...
@@ -28,7 +28,6 @@
#include <string.h>
#include "vdef.h"
#include "cache/cache.h"
#include "wb.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