Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-objvar
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
uplex-varnish
varnish-objvar
Commits
38d02402
Commit
38d02402
authored
Dec 07, 2018
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adjust for
https://github.com/varnishcache/varnish-cache/pull/3011
parent
ce1e8c0d
Pipeline
#440
failed with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
vmod_topvar.c
src/vmod_topvar.c
+8
-1
No files found.
src/vmod_topvar.c
View file @
38d02402
...
...
@@ -78,10 +78,17 @@ static void *
state_l
(
VRT_CTX
,
void
*
v
,
size_t
sz
)
{
struct
vmod_priv
*
t
;
struct
ws
*
ws
;
top_common
(
ctx
,
t
,
v
);
t
->
priv
=
WS_Alloc
(
ctx
->
req
->
topreq
->
ws
,
sz
);
if
(
ctx
->
req
->
top
)
ws
=
ctx
->
req
->
top
->
topreq
->
ws
;
else
ws
=
ctx
->
req
->
ws
;
t
->
priv
=
WS_Alloc
(
ws
,
sz
);
if
(
t
->
priv
==
NULL
)
{
VRT_fail
(
ctx
,
"out of workspace"
);
return
(
NULL
);
...
...
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