Skip to content

Commit

Permalink
add verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
IanButterworth committed Jul 13, 2024
1 parent 51e5321 commit 971840a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Curl/Easy.jl
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,11 @@ end
# request options

function set_defaults(easy::Easy)
@info "setting defaults"
@show setopt(easy, CURLOPT_STDERR, Libc.FILE(Base.RawFD(2), "w").ptr)
@show setopt(easy, CURLOPT_BUFFERSIZE, 10_000_000)
@show setopt(easy, CURLOPT_VERBOSE, Int64(1))

# curl options
setopt(easy, CURLOPT_NOSIGNAL, true)
setopt(easy, CURLOPT_FOLLOWLOCATION, true)
Expand Down

0 comments on commit 971840a

Please sign in to comment.