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
ebbbad96
Commit
ebbbad96
authored
Feb 05, 2019
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Flexelinting
parent
731c2182
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
9 additions
and
8 deletions
+9
-8
varnishadm.c
bin/varnishadm/varnishadm.c
+1
-1
cache_objhead.h
bin/varnishd/cache/cache_objhead.h
+0
-1
cache_vcl.c
bin/varnishd/cache/cache_vcl.c
+3
-1
cache_vcl.h
bin/varnishd/cache/cache_vcl.h
+0
-1
flint.lnt
bin/varnishd/flint.lnt
+2
-1
vmod_blob.h
lib/libvmod_blob/vmod_blob.h
+2
-2
shard_cfg.c
lib/libvmod_directors/shard_cfg.c
+1
-1
No files found.
bin/varnishadm/varnishadm.c
View file @
ebbbad96
...
...
@@ -73,7 +73,7 @@
} while (0)
static
double
timeout
=
5
;
// XXX should be settable by arg ?
static
const
double
timeout
=
5
;
// XXX should be settable by arg ?
static
void
cli_write
(
int
sock
,
const
char
*
s
)
...
...
bin/varnishd/cache/cache_objhead.h
View file @
ebbbad96
...
...
@@ -66,7 +66,6 @@ void HSH_DeleteObjHead(const struct worker *, struct objhead *);
int
HSH_DerefObjCore
(
struct
worker
*
,
struct
objcore
**
,
int
rushmax
);
#define HSH_RUSH_POLICY -1
#define HSH_RUSH_ALL INT_MAX
enum
lookup_e
HSH_Lookup
(
struct
req
*
,
struct
objcore
**
,
struct
objcore
**
);
void
HSH_Ref
(
struct
objcore
*
o
);
...
...
bin/varnishd/cache/cache_vcl.c
View file @
ebbbad96
...
...
@@ -50,7 +50,9 @@ const char * const VCL_TEMP_COLD = "cold";
const
char
*
const
VCL_TEMP_WARM
=
"warm"
;
const
char
*
const
VCL_TEMP_BUSY
=
"busy"
;
const
char
*
const
VCL_TEMP_COOLING
=
"cooling"
;
const
char
*
const
VCL_TEMP_LABEL
=
"label"
;
// not really a state
static
const
char
*
const
VCL_TEMP_LABEL
=
"label"
;
/*
* XXX: Presently all modifications to this list happen from the
...
...
bin/varnishd/cache/cache_vcl.h
View file @
ebbbad96
...
...
@@ -75,7 +75,6 @@ extern const char * const VCL_TEMP_COLD;
extern
const
char
*
const
VCL_TEMP_WARM
;
extern
const
char
*
const
VCL_TEMP_BUSY
;
extern
const
char
*
const
VCL_TEMP_COOLING
;
extern
const
char
*
const
VCL_TEMP_LABEL
;
/*
* NB: The COOLING temperature is neither COLD nor WARM.
...
...
bin/varnishd/flint.lnt
View file @
ebbbad96
...
...
@@ -72,7 +72,8 @@
// Macros defined differently in each VMOD
-esym(767, VPFX) // macro '___' was defined differently in another module
-esym(767, VARGS) // macro '___' was defined differently in another module
-esym(767, VENUM) // macro '___' was defined differently in another module
-esym(767, VENUM) // macro '___' was defined differently in another module
-esym(14, enum_vmod*) // Symbol '___' previously defined (___)
//////////////
-efunc(1791, pdiff) // return last on line
//////////////
...
...
lib/libvmod_blob/vmod_blob.h
View file @
ebbbad96
...
...
@@ -32,13 +32,13 @@
#include <sys/types.h>
enum
encoding
{
_
INVALID
=
0
,
_
_INVALID_ENCODING
=
0
,
#define VMODENUM(x) x,
#include "tbl_encodings.h"
__MAX_ENCODING
};
#define AENC(enc) assert((enc) > _
INVALID
&& (enc) < __MAX_ENCODING)
#define AENC(enc) assert((enc) > _
_INVALID_ENCODING
&& (enc) < __MAX_ENCODING)
/*
* The enums MUST appear in this order, since LOWER and UPPER are used to
...
...
lib/libvmod_directors/shard_cfg.c
View file @
ebbbad96
...
...
@@ -41,7 +41,7 @@
/*lint -esym(749, shard_change_task_e::*) */
enum
shard_change_task_e
{
_INVALID
=
0
,
_
SHARD_TASK_E_
INVALID
=
0
,
CLEAR
,
ADD_BE
,
REMOVE_BE
,
...
...
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