Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion library/ziti.c
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@

ziti_ctrl_cancel(ztx_get_controller(ztx));
// logout
ziti_ctrl_logout(ztx_get_controller(ztx), logout_cb, ztx);
ziti_ctrl_clear_api_session(ztx_get_controller(ztx));
update_ctrl_status(ztx, ZITI_DISABLED, ziti_errorstr(ZITI_DISABLED));
ztx->enabled = false;
}
Expand Down Expand Up @@ -1806,7 +1806,7 @@
id_it = model_list_it_remove(id_it);
}

MODEL_MAP_FOREACH(conn_id, conn, &ztx->connections) {

Check warning on line 1809 in library/ziti.c

View workflow job for this annotation

GitHub Actions / MacOS arm64

comparison between pointer and integer ('uint32_t' (aka 'unsigned int') and 'void *') [-Wpointer-integer-compare]

Check warning on line 1809 in library/ziti.c

View workflow job for this annotation

GitHub Actions / MacOS x86_64

comparison between pointer and integer ('uint32_t' (aka 'unsigned int') and 'void *') [-Wpointer-integer-compare]
if (conn->type == Server) {
update_bindings(conn);
}
Expand Down
3 changes: 3 additions & 0 deletions library/ziti_ctrl.c
Original file line number Diff line number Diff line change
Expand Up @@ -689,6 +689,9 @@ static void on_http_close(tlsuv_http_t *clt) {
}

int ziti_ctrl_cancel(ziti_controller *ctrl) {
if (ctrl->client == NULL) {
return ZITI_OK;
}
return tlsuv_http_cancel_all(ctrl->client);
}

Expand Down
Loading