Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: Improve error when unix socket path length is over 104
Path used for unix socket client/server endpoints have to be less than 104. When this is not the case, `bind: invalid argument` is returned. This commit checks the path length before calling `DialUnix` in order to provide an easier to understand error message. Signed-off-by: Christophe Fergeau <[email protected]>
- Loading branch information