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
ec8f0546
Commit
ec8f0546
authored
Jan 16, 2023
by
Dridi Boukelmoune
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vrt: Skip the workspace reservation in VRT_IP_string()
parent
25589674
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
cache_vrt.c
bin/varnishd/cache/cache_vrt.c
+1
-4
No files found.
bin/varnishd/cache/cache_vrt.c
View file @
ec8f0546
...
@@ -598,15 +598,12 @@ VCL_STRING v_matchproto_()
...
@@ -598,15 +598,12 @@ VCL_STRING v_matchproto_()
VRT_IP_string
(
VRT_CTX
,
VCL_IP
ip
)
VRT_IP_string
(
VRT_CTX
,
VCL_IP
ip
)
{
{
char
buf
[
VTCP_ADDRBUFSIZE
];
char
buf
[
VTCP_ADDRBUFSIZE
];
struct
vsb
vsb
[
1
];
CHECK_OBJ_NOTNULL
(
ctx
,
VRT_CTX_MAGIC
);
CHECK_OBJ_NOTNULL
(
ctx
,
VRT_CTX_MAGIC
);
if
(
ip
==
NULL
)
if
(
ip
==
NULL
)
return
(
NULL
);
return
(
NULL
);
VTCP_name
(
ip
,
buf
,
sizeof
buf
,
NULL
,
0
);
VTCP_name
(
ip
,
buf
,
sizeof
buf
,
NULL
,
0
);
WS_VSB_new
(
vsb
,
ctx
->
ws
);
return
(
WS_Copy
(
ctx
->
ws
,
buf
,
-
1
));
VSB_cat
(
vsb
,
buf
);
return
(
WS_VSB_finish
(
vsb
,
ctx
->
ws
,
NULL
));
}
}
VCL_STRING
v_matchproto_
()
VCL_STRING
v_matchproto_
()
...
...
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