socks5: Improve error messages
Open
enhancement
- Dominant language
- Go
- Stars
- 6
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
The `Connect` function performs TCP connections to remote endpoints. Improve the error messages that it returns to the final client (see [here](https://github.com/booster-proj/proxy/blob/2cd1b9fe34da338ecfe9b4ae143aa2dcca657c0c/socks5/connect.go#L42)), otherwise clients line Safari or Chrome will display always messages such as `no internet connection`, even though for example we just tried to connect to un unknown host.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.