https set extension:server_name (#1960)

Co-authored-by: root <root@DESKTOP-5DF4NN3.localdomain>
This commit is contained in:
2024-07-24 11:55:05 +08:00
committed by GitHub
parent b519c53fe4
commit 89372a257d
3 changed files with 13 additions and 2 deletions

View File

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