Update httpc.lua (#1962)

This commit is contained in:
zhuilang
2024-07-27 00:42:15 +08:00
committed by GitHub
parent 89372a257d
commit c2b391ed42

View File

@@ -95,7 +95,7 @@ local function connect(host, timeout)
end)
end
if interface.init then
interface.init((header and header.Host) or host)
interface.init(host)
end
return fd, interface, host
end