Skip to content

Commit

Permalink
Update Easy.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
vtjnash authored Sep 6, 2023
1 parent 18aeae8 commit 314d93f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Curl/Easy.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 314d93f

Please sign in to comment.