Skip to content

Commit 971840a

Browse files
add verbose
1 parent 51e5321 commit 971840a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Curl/Easy.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,11 @@ end
7272
# request options
7373

7474
function set_defaults(easy::Easy)
75+
@info "setting defaults"
76+
@show setopt(easy, CURLOPT_STDERR, Libc.FILE(Base.RawFD(2), "w").ptr)
77+
@show setopt(easy, CURLOPT_BUFFERSIZE, 10_000_000)
78+
@show setopt(easy, CURLOPT_VERBOSE, Int64(1))
79+
7580
# curl options
7681
setopt(easy, CURLOPT_NOSIGNAL, true)
7782
setopt(easy, CURLOPT_FOLLOWLOCATION, true)

0 commit comments

Comments
 (0)