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
bb5eed17
Commit
bb5eed17
authored
Nov 23, 2021
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
White space OCD
parent
bdf2e060
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
19 additions
and
19 deletions
+19
-19
cache_esi_deliver.c
bin/varnishd/cache/cache_esi_deliver.c
+4
-4
cache_wrk.c
bin/varnishd/cache/cache_wrk.c
+2
-2
cache_http2_proto.c
bin/varnishd/http2/cache_http2_proto.c
+2
-2
vtc_h2_hpack.c
bin/varnishtest/vtc_h2_hpack.c
+1
-1
vtc_main.c
bin/varnishtest/vtc_main.c
+1
-1
vsl.h
include/vapi/vsl.h
+1
-1
vmod_debug.c
vmod/vmod_debug.c
+8
-8
No files found.
bin/varnishd/cache/cache_esi_deliver.c
View file @
bb5eed17
...
...
@@ -800,10 +800,10 @@ ved_gzgz_fini(struct vdp_ctx *vdc, void **priv)
}
static
const
struct
vdp
ved_gzgz
=
{
.
name
=
"VZZ"
,
.
init
=
ved_gzgz_init
,
.
bytes
=
ved_gzgz_bytes
,
.
fini
=
ved_gzgz_fini
,
.
name
=
"VZZ"
,
.
init
=
ved_gzgz_init
,
.
bytes
=
ved_gzgz_bytes
,
.
fini
=
ved_gzgz_fini
,
};
/*--------------------------------------------------------------------
...
...
bin/varnishd/cache/cache_wrk.c
View file @
bb5eed17
...
...
@@ -437,9 +437,9 @@ Pool_Work_Thread(struct pool *pp, struct worker *wrk)
else
if
(
wrk
->
wpriv
->
vcl
==
NULL
)
tmo
=
0
;
else
if
(
DO_DEBUG
(
DBG_VTC_MODE
))
tmo
=
now
+
1
.;
tmo
=
now
+
1
.;
else
tmo
=
now
+
60
.;
tmo
=
now
+
60
.;
(
void
)
Lck_CondWaitUntil
(
&
wrk
->
cond
,
&
pp
->
mtx
,
tmo
);
if
(
wrk
->
task
->
func
!=
NULL
)
{
...
...
bin/varnishd/http2/cache_http2_proto.c
View file @
bb5eed17
...
...
@@ -1393,8 +1393,8 @@ h2_rxframe(struct worker *wrk, struct h2_sess *h2)
if
(
h2
->
do_sweep
)
(
void
)
h2_sweep
(
wrk
,
h2
);
h2
->
rxf_len
=
vbe32dec
(
h2
->
htc
->
rxbuf_b
)
>>
8
;
h2
->
rxf_type
=
h2
->
htc
->
rxbuf_b
[
3
];
h2
->
rxf_len
=
vbe32dec
(
h2
->
htc
->
rxbuf_b
)
>>
8
;
h2
->
rxf_type
=
h2
->
htc
->
rxbuf_b
[
3
];
h2
->
rxf_flags
=
h2
->
htc
->
rxbuf_b
[
4
];
h2
->
rxf_stream
=
vbe32dec
(
h2
->
htc
->
rxbuf_b
+
5
);
h2
->
rxf_stream
&=
~
(
1LU
<<
31
);
// rfc7540,l,690,692
...
...
bin/varnishtest/vtc_h2_hpack.c
View file @
bb5eed17
...
...
@@ -206,7 +206,7 @@ num_encode(struct hpk_iter *iter, uint8_t prefix, uint32_t num)
uint8_t
pmax
=
(
1U
<<
prefix
)
-
1U
;
*
iter
->
buf
&=
0xffU
<<
prefix
;
if
(
num
<=
pmax
)
{
if
(
num
<=
pmax
)
{
*
iter
->
buf
++
|=
num
;
return
(
ITER_DONE
(
iter
));
}
else
if
(
iter
->
end
-
iter
->
buf
<
2
)
...
...
bin/varnishtest/vtc_main.c
View file @
bb5eed17
...
...
@@ -527,7 +527,7 @@ i_mode(void)
"could not find 'abs_top_builddir' in Makefile
\n
"
);
exit
(
2
);
}
topbuild
=
strchr
(
p
+
1
,
'\n'
);
topbuild
=
strchr
(
p
+
1
,
'\n'
);
if
(
topbuild
==
NULL
)
{
fprintf
(
stderr
,
"No NL after 'abs_top_builddir' in Makefile
\n
"
);
...
...
include/vapi/vsl.h
View file @
bb5eed17
...
...
@@ -327,7 +327,7 @@ enum vsl_check {
vsl_check_e_notsupp
=
-
1
,
vsl_check_e_inval
=
0
,
vsl_check_warn
=
1
,
vsl_check_valid
=
2
vsl_check_valid
=
2
};
enum
vsl_check
...
...
vmod/vmod_debug.c
View file @
bb5eed17
...
...
@@ -1055,15 +1055,15 @@ xyzzy_get_ip(VRT_CTX)
extern
const
struct
vmod_data
Vmod_wrong0_Data
;
const
struct
vmod_data
Vmod_wrong0_Data
=
{
.
vrt_major
=
0
,
.
vrt_minor
=
0
,
.
vrt_major
=
0
,
.
vrt_minor
=
0
,
};
//lint -save -e835 A zero has been given as left argument to operatorp'+'
extern
const
struct
vmod_data
Vmod_wrong1_Data
;
const
struct
vmod_data
Vmod_wrong1_Data
=
{
.
vrt_major
=
VRT_MAJOR_VERSION
,
.
vrt_minor
=
VRT_MINOR_VERSION
+
1
,
.
vrt_major
=
VRT_MAJOR_VERSION
,
.
vrt_minor
=
VRT_MINOR_VERSION
+
1
,
};
//lint -restore
...
...
@@ -1073,8 +1073,8 @@ static const struct foo {
extern
const
struct
vmod_data
Vmod_wrong2_Data
;
const
struct
vmod_data
Vmod_wrong2_Data
=
{
.
vrt_major
=
VRT_MAJOR_VERSION
,
.
vrt_minor
=
VRT_MINOR_VERSION
,
.
vrt_major
=
VRT_MAJOR_VERSION
,
.
vrt_minor
=
VRT_MINOR_VERSION
,
.
name
=
"wrongN"
,
.
func
=
foo_struct
,
.
func_len
=
sizeof
foo_struct
,
...
...
@@ -1084,8 +1084,8 @@ const struct vmod_data Vmod_wrong2_Data = {
extern
const
struct
vmod_data
Vmod_wrong3_Data
;
const
struct
vmod_data
Vmod_wrong3_Data
=
{
.
vrt_major
=
VRT_MAJOR_VERSION
,
.
vrt_minor
=
VRT_MINOR_VERSION
,
.
vrt_major
=
VRT_MAJOR_VERSION
,
.
vrt_minor
=
VRT_MINOR_VERSION
,
.
name
=
"wrongN"
,
.
func
=
foo_struct
,
.
func_len
=
sizeof
foo_struct
,
...
...
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