Skip to content

Commit

Permalink
fix(http.client): remove unnecessary code
Browse files Browse the repository at this point in the history
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
  • Loading branch information
zhaojh329 committed Apr 13, 2024
1 parent 3b48b15 commit 7c5f2be
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions http/client.lua
Original file line number Diff line number Diff line change
Expand Up @@ -400,8 +400,6 @@ function methods:request(method, url, body, opts)
local sock

for _, a in ipairs(addresses) do
opts.ipv6 = a.type == dns.TYPE_AAAA

if scheme_info.use_ssl then
sock, err = ssl.connect(a.address, port, opts)
else
Expand Down

0 comments on commit 7c5f2be

Please sign in to comment.