Skip to content

Commit 9c0da7b

Browse files
bors[bot]rfliam
andcommitted
Merge #81
81: Allow Passing Through HTTP Connection Settings r=iamed2 a=rfliam aws_config can now take a `:http_connection_settings` key with pairs like `:connection_limit=>100` to modify the http connection settings. Co-authored-by: Richard Fliam <[email protected]>
2 parents e382454 + 2fae1e0 commit 9c0da7b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/http.jl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ function http_request(request::AWSRequest)
2626
push!(options, (:response_stream, io))
2727
end
2828

29+
if haskey(request, :http_options)
30+
for v in request[:http_options]
31+
push!(options, v)
32+
end
33+
end
34+
2935
verbose = debug_level - 1
3036

3137
http_stack = HTTP.stack(redirect=false,

0 commit comments

Comments
 (0)