[master] c41241826 vmod_debug: some renames in preparation for more debug transports
Nils Goroll
nils.goroll at uplex.de
Tue Jan 14 17:39:10 UTC 2025
commit c412418261f2a64e48b36c93536358bc53f00ef7
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Tue Jan 14 18:34:19 2025 +0100
vmod_debug: some renames in preparation for more debug transports
diff --git a/vmod/automake_boilerplate_debug.am b/vmod/automake_boilerplate_debug.am
index 2a70c5e8f..0021d59e7 100644
--- a/vmod/automake_boilerplate_debug.am
+++ b/vmod/automake_boilerplate_debug.am
@@ -13,7 +13,7 @@ libvmod_debug_la_SOURCES = \
vmod_debug_dyn.c \
vmod_debug_filters.c \
vmod_debug_obj.c \
- vmod_debug_transports.c
+ vmod_debug_transport_reembarking_http1.c
libvmod_debug_la_CFLAGS =
diff --git a/vmod/vmod_debug.c b/vmod/vmod_debug.c
index a5a097163..847477d0a 100644
--- a/vmod/vmod_debug.c
+++ b/vmod/vmod_debug.c
@@ -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);
}
diff --git a/vmod/vmod_debug.h b/vmod/vmod_debug.h
index ddff80dc8..be09c46cc 100644
--- a/vmod/vmod_debug.h
+++ b/vmod/vmod_debug.h
@@ -34,8 +34,8 @@ debug_add_filters(VRT_CTX);
void
debug_remove_filters(VRT_CTX);
-/* vmod_debug_transports.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);
diff --git a/vmod/vmod_debug_transports.c b/vmod/vmod_debug_transport_reembarking_http1.c
similarity index 98%
rename from vmod/vmod_debug_transports.c
rename to vmod/vmod_debug_transport_reembarking_http1.c
index 8a60a5a62..32e176ab3 100644
--- a/vmod/vmod_debug_transports.c
+++ b/vmod/vmod_debug_transport_reembarking_http1.c
@@ -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;
More information about the varnish-commit
mailing list