vhost: set DisableKeepAlives = false and fix websocket not work

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

No files matched your search

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