Merge pull request #7646 from andelf/fix-unix-socket-url
*: fix a bug in handling unix socket urls
This commit is contained in:
@ -184,6 +184,7 @@ func parseEndpoint(endpoint string) (proto string, host string, scheme string) {
|
||||
case "http", "https":
|
||||
case "unix":
|
||||
proto = "unix"
|
||||
host = url.Host + url.Path
|
||||
default:
|
||||
proto, host = "", ""
|
||||
}
|
||||
|
Reference in New Issue
Block a user