From 889cec7db45ad6b1d24630d1a5a0ecc985eeb2d8 Mon Sep 17 00:00:00 2001 From: ekoby <7406535+ekoby@users.noreply.github.com> Date: Tue, 17 Oct 2023 16:07:03 -0400 Subject: [PATCH] update tlsuv@0.26.0 (#565) --- deps/CMakeLists.txt | 2 +- library/channel.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deps/CMakeLists.txt b/deps/CMakeLists.txt index e2a93975..34a2251b 100644 --- a/deps/CMakeLists.txt +++ b/deps/CMakeLists.txt @@ -8,7 +8,7 @@ else () FetchContent_Declare(tlsuv GIT_REPOSITORY https://github.com/openziti/tlsuv.git - GIT_TAG v0.25.1 + GIT_TAG v0.26.0 ) FetchContent_MakeAvailable(tlsuv) diff --git a/library/channel.c b/library/channel.c index 8aaf76e6..2a74ec2a 100644 --- a/library/channel.c +++ b/library/channel.c @@ -849,7 +849,7 @@ static void on_channel_connect_internal(uv_connect_t *req, int status) { if (ch->ctx->api_session != NULL && ch->ctx->api_session->token != NULL) { CH_LOG(DEBUG, "connected"); tlsuv_stream_t *mbed = (tlsuv_stream_t *) req->handle; - tlsuv_stream_read(mbed, channel_alloc_cb, on_channel_data); + tlsuv_stream_read_start(mbed, channel_alloc_cb, on_channel_data); ch->reconnect_count = 0; send_hello(ch, ch->ctx->api_session); } else {