From 393fe239f3c8af603b2f9eb7bf998fe3833a1be8 Mon Sep 17 00:00:00 2001 From: Shawn Carey Date: Tue, 22 Oct 2024 15:09:59 -0400 Subject: [PATCH] remove debug stuffs --- library/bind.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/library/bind.c b/library/bind.c index 1973cd2e..d8996160 100644 --- a/library/bind.c +++ b/library/bind.c @@ -110,6 +110,7 @@ static void process_bindings(struct ziti_conn *conn) { struct ziti_ctx *ztx = conn->ziti_ctx; size_t target = MIN(conn->server.max_bindings, model_map_size(&ztx->channels)); + const char *url; for(int idx = 0; conn->server.routers && conn->server.routers[idx]; idx++) { ziti_edge_router *er = conn->server.routers[idx]; @@ -140,7 +141,7 @@ static void process_bindings(struct ziti_conn *conn) { } if (target <= 0) break; } - ZITI_LOG(DEBUG, "target is %ld", target); + schedule_rebind(conn, target > 0); } @@ -248,6 +249,7 @@ static void list_routers_cb(ziti_service_routers *srv_routers, const ziti_error } } free(srv_routers); + process_bindings(conn); }