From 314d93fa17f9b1a2368a59697a61ff15421f97b2 Mon Sep 17 00:00:00 2001 From: Jameson Nash Date: Wed, 6 Sep 2023 11:22:32 -0400 Subject: [PATCH] Update Easy.jl --- src/Curl/Easy.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Curl/Easy.jl b/src/Curl/Easy.jl index 866657a..eaab8b2 100644 --- a/src/Curl/Easy.jl +++ b/src/Curl/Easy.jl @@ -371,7 +371,7 @@ function upload_data(easy::Easy, input::IO) while true data = eof(input) ? nothing : readavailable(input) easy.input === nothing && break - reset(easy.input) + reset(easy.ready) easy.input = data curl_easy_pause(easy.handle, Curl.CURLPAUSE_CONT) wait(easy.ready)