-
Notifications
You must be signed in to change notification settings - Fork 18k
x/net/websocket: support DialTimeout #9198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
A Dialer seems preferable. As it is, there's no way to Dial a domain socket, which is another limitation I've hit. Is there anyone who can approve a patch to add a Dialer to the Config? |
Although, one can dial manually and pass the conn to NewClient, which seems a fine workaround. Perhaps a Dialer is not needed whatsoever. |
I would prefer passing a net.Conn over using a Dialer too. Otherwise those clients are hard to use in tests. |
CL https://golang.org/cl/12191 mentions this issue. |
The text was updated successfully, but these errors were encountered: