vhost: set DisableKeepAlives = false and fix websocket not work

This commit is contained in:
fatedier
2021-01-18 21:49:44 +08:00
parent c842558ace
commit 46f809d711
3 changed files with 48 additions and 18 deletions

View File

@@ -74,4 +74,4 @@ func hasPort(host string) bool {
return true
}
return host[0] == '[' && strings.Contains(host, "]:")
}
}