Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update sdk 2.0.0-alpha20 #968

Merged
merged 2 commits into from
Sep 16, 2024
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 CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.21)


set(ZITI_SDK_DIR "" CACHE FILEPATH "developer option: use local ziti-sdk-c checkout")
set(ZITI_SDK_VERSION "2.0.0-alpha18" CACHE STRING "ziti-sdk-c version or branch to use")
set(ZITI_SDK_VERSION "2.0.0-alpha20" CACHE STRING "ziti-sdk-c version or branch to use")

# if TUNNEL_SDK_ONLY then don't descend into programs/ziti-edge-tunnel
option(TUNNEL_SDK_ONLY "build only ziti-tunnel-sdk (without ziti)" OFF)
Expand Down
2 changes: 2 additions & 0 deletions lib/ziti-tunnel-cbs/ziti_tunnel_cbs.c
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,8 @@ void * ziti_sdk_c_dial(const void *intercept_ctx, struct io_ctx_s *io) {
return NULL;
}

dial_opts.stream = strcmp(app_data.dst_protocol, "tcp") == 0;

char resolved_dial_identity[128];
if (dial_opts.identity != NULL && dial_opts.identity[0] != '\0') {
strncpy(resolved_dial_identity, dial_opts.identity, sizeof(resolved_dial_identity));
Expand Down
Loading