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
483bc965
Commit
483bc965
authored
Nov 02, 2017
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Flexelinting
parent
97781c12
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
3 deletions
+10
-3
cache_http2.h
bin/varnishd/http2/cache_http2.h
+1
-1
cache_http2_proto.c
bin/varnishd/http2/cache_http2_proto.c
+1
-1
vmod_debug.c
lib/libvmod_debug/vmod_debug.c
+4
-0
vmod_vtc.c
lib/libvmod_vtc/vmod_vtc.c
+4
-1
No files found.
bin/varnishd/http2/cache_http2.h
View file @
483bc965
...
...
@@ -223,7 +223,7 @@ h2_error H2_Send(struct worker *, struct h2_req *,
/* cache_http2_proto.c */
struct
h2_req
*
h2_new_req
(
const
struct
worker
*
,
struct
h2_sess
*
,
unsigned
stream
,
struct
req
*
);
void
h2_del_req
(
struct
worker
*
,
struct
h2_req
*
);
void
h2_del_req
(
struct
worker
*
,
const
struct
h2_req
*
);
void
h2_kill_req
(
struct
worker
*
,
const
struct
h2_sess
*
,
struct
h2_req
*
,
h2_error
);
int
h2_rxframe
(
struct
worker
*
,
struct
h2_sess
*
);
...
...
bin/varnishd/http2/cache_http2_proto.c
View file @
483bc965
...
...
@@ -161,7 +161,7 @@ h2_new_req(const struct worker *wrk, struct h2_sess *h2,
}
void
h2_del_req
(
struct
worker
*
wrk
,
struct
h2_req
*
r2
)
h2_del_req
(
struct
worker
*
wrk
,
const
struct
h2_req
*
r2
)
{
struct
h2_sess
*
h2
;
struct
sess
*
sp
;
...
...
lib/libvmod_debug/vmod_debug.c
View file @
483bc965
...
...
@@ -396,6 +396,10 @@ vmod_workspace_allocate(VRT_CTX, VCL_ENUM which, VCL_INT size)
size
+=
WS_Reserve
(
ws
,
0
);
WS_Release
(
ws
,
0
);
}
if
(
size
<=
0
)
{
VRT_fail
(
ctx
,
"Attempted negative WS allocation"
);
return
;
}
s
=
WS_Alloc
(
ws
,
size
);
if
(
!
s
)
return
;
...
...
lib/libvmod_vtc/vmod_vtc.c
View file @
483bc965
...
...
@@ -151,7 +151,10 @@ vmod_workspace_alloc(VRT_CTX, VCL_ENUM which, VCL_INT size)
size
+=
WS_Reserve
(
ws
,
0
);
WS_Release
(
ws
,
0
);
}
if
(
size
<=
0
)
{
VRT_fail
(
ctx
,
"Attempted negative WS allocation"
);
return
;
}
p
=
WS_Alloc
(
ws
,
size
);
if
(
p
==
NULL
)
VRT_fail
(
ctx
,
"vtc.workspace_alloc"
);
...
...
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