Skip to content

Commit

Permalink
fix(http): remove unused variable declaration
Browse files Browse the repository at this point in the history
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
  • Loading branch information
zhaojh329 committed Dec 17, 2023
1 parent 877cc18 commit 23461ec
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion http/client.lua
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,6 @@ function methods:request(method, url, body, opts)
local sock

for _, a in ipairs(addresses) do
local connect = socket.connect_tcp
if scheme_info.use_ssl then
sock, err = ssl.connect(a.address, port, opts, a.type == dns.TYPE_AAAA)
else
Expand Down

0 comments on commit 23461ec

Please sign in to comment.