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
c4124182
Unverified
Commit
c4124182
authored
Jan 14, 2025
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vmod_debug: some renames in preparation for more debug transports
parent
df8ee335
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
automake_boilerplate_debug.am
vmod/automake_boilerplate_debug.am
+1
-1
vmod_debug.c
vmod/vmod_debug.c
+2
-2
vmod_debug.h
vmod/vmod_debug.h
+3
-3
vmod_debug_transport_reembarking_http1.c
vmod/vmod_debug_transport_reembarking_http1.c
+2
-2
No files found.
vmod/automake_boilerplate_debug.am
View file @
c4124182
...
...
@@ -13,7 +13,7 @@ libvmod_debug_la_SOURCES = \
vmod_debug_dyn.c \
vmod_debug_filters.c \
vmod_debug_obj.c \
vmod_debug_transport
s
.c
vmod_debug_transport
_reembarking_http1
.c
libvmod_debug_la_CFLAGS =
...
...
vmod/vmod_debug.c
View file @
c4124182
...
...
@@ -332,7 +332,7 @@ event_load(VRT_CTX, struct vmod_priv *priv)
priv
->
methods
=
priv_vcl_methods
;
debug_add_filters
(
ctx
);
debug_transport_init
();
debug_transport_
reembarking_http1_
init
();
return
(
0
);
}
...
...
@@ -1286,5 +1286,5 @@ xyzzy_resolve_range(VRT_CTX, struct VARGS(resolve_range) *args)
VCL_VOID
xyzzy_use_reembarking_http1
(
VRT_CTX
)
{
debug_transport_
use_reembarking_http1
(
ctx
);
debug_transport_
reembarking_http1_use
(
ctx
);
}
vmod/vmod_debug.h
View file @
c4124182
...
...
@@ -34,8 +34,8 @@ debug_add_filters(VRT_CTX);
void
debug_remove_filters
(
VRT_CTX
);
/* vmod_debug_transport
s
.c */
/* vmod_debug_transport
_reembarking_http1
.c */
void
debug_transport_
use_reembarking_http1
(
VRT_CTX
);
debug_transport_
reembarking_http1_use
(
VRT_CTX
);
void
debug_transport_init
(
void
);
debug_transport_
reembarking_http1_
init
(
void
);
vmod/vmod_debug_transport
s
.c
→
vmod/vmod_debug_transport
_reembarking_http1
.c
View file @
c4124182
...
...
@@ -199,7 +199,7 @@ dbg_deliver_finish(struct req *req, struct v1l **v1lp, int err)
static
struct
transport
DBG_transport
;
void
debug_transport_init
(
void
)
debug_transport_
reembarking_http1_
init
(
void
)
{
DBG_transport
=
HTTP1_transport
;
DBG_transport
.
name
=
"DBG"
;
...
...
@@ -207,7 +207,7 @@ debug_transport_init(void)
}
void
debug_transport_
use_reembarking_http1
(
VRT_CTX
)
debug_transport_
reembarking_http1_use
(
VRT_CTX
)
{
struct
req
*
req
;
...
...
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