Open slingamn opened 4 months ago
We already support this for IRC connections, e.g. ircdog /tmp/oragono_socket
works as expected.
Supporting websockets is nontrivial. It's vaguely possible to hack this into Gorilla, but as it turns out, url.Parse
doesn't like http+unix URLs with percent-encoded hostnames, so we get tripped up here:
https://github.com/ergochat/ircdog/blob/71e3129e47d2061d65e6c6ff6091bea86423b8fc/ircdog.go#L106-L110
Probably not worth it at this time.
Including http+unix URLs --- nice potential enhancement for debugging