We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It crashes when using custom net.conn implementation that does not return net.TCPAddr when con.LocalAddr()
net.TCPAddr
con.LocalAddr()
Crash example
panic: interface conversion: net.Addr is net.pipeAddr, not *net.TCPAddr goroutine 7 [running]: github.com/armon/go-socks5.(*Server).handleConnect(0xc00019a320, {0xfe4fd0, 0xc00009e0d0}, {0x1aae30650d8, 0xc000006020}, 0xc0002d2040) C:/Users/aymerici/go/pkg/mod/github.com/armon/go-socks5@v0.0.0-20160902184237-e75332964ef5/request.go:194 +0x950
The problem is in this Line
local := target.LocalAddr().(*net.TCPAddr)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It crashes when using custom net.conn implementation that does not return
net.TCPAddr
whencon.LocalAddr()
Crash example
The problem is in this Line
The text was updated successfully, but these errors were encountered: