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
1cee4d37
Commit
1cee4d37
authored
May 28, 2021
by
Dridi Boukelmoune
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
varnishtest: Address flexelint's tunnel complaints
parent
d4cf677a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
vtc.h
bin/varnishtest/vtc.h
+0
-2
vtc_tunnel.c
bin/varnishtest/vtc_tunnel.c
+2
-2
No files found.
bin/varnishtest/vtc.h
View file @
1cee4d37
...
...
@@ -148,8 +148,6 @@ void start_h2(struct http *hp);
void
stop_h2
(
struct
http
*
hp
);
void
b64_settings
(
const
struct
http
*
hp
,
const
char
*
s
);
cmd_f
cmd_tunnel
;
/* vtc_gzip.c */
void
vtc_gzip
(
struct
http
*
,
const
char
*
,
char
**
,
long
*
);
void
vtc_gunzip
(
struct
http
*
,
char
*
,
long
*
);
...
...
bin/varnishtest/vtc_tunnel.c
View file @
1cee4d37
...
...
@@ -290,7 +290,7 @@ cmd_tunnel_resume(CMD_ARGS)
AZ
(
pthread_mutex_unlock
(
&
t
->
mtx
));
}
const
struct
cmds
tunnel_cmds
[]
=
{
static
const
struct
cmds
tunnel_cmds
[]
=
{
#define CMD_TUNNEL(n) { #n, cmd_tunnel_##n },
CMD_TUNNEL
(
pause
)
CMD_TUNNEL
(
send
)
...
...
@@ -305,7 +305,7 @@ const struct cmds tunnel_cmds[] = {
*/
static
void
tunnel_read
(
struct
tunnel
*
t
,
struct
vtclog
*
vl
,
struct
pollfd
*
pfd
,
tunnel_read
(
struct
tunnel
*
t
,
struct
vtclog
*
vl
,
const
struct
pollfd
*
pfd
,
struct
tunnel_lane
*
lane
)
{
size_t
len
;
...
...
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