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 {