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
With a *jsonrpc2.Connection instance, it is not possible to know at least the remote network address.
*jsonrpc2.Connection
The proposal here, is to add:
LocalAddr() net.Addr RemoteAddr() net.Addr
methods to *jsonrpc2.Connection type.
Without breaking the compatibility they can easily be implemented as:
func (c *Connection) LocalAddr() net.Addr { if conn, ok := c.closer.(interface{ LocalAddr() net.Addr }); ok { return conn.LocalAddr() } return nil } func (c *Connection) RemoteAddr() net.Addr { if conn, ok := c.closer.(interface{ RemoteAddr() net.Addr }); ok { return conn.RemoteAddr() } return nil }
The text was updated successfully, but these errors were encountered:
CC @jba @ianthehat
Sorry, something went wrong.
Does someone have any news about this proposal, please?
Change https://go.dev/cl/573360 mentions this issue: ssh: validate key type in SSH_MSG_USERAUTH_PK_OK response
ssh: validate key type in SSH_MSG_USERAUTH_PK_OK response
please ignore. I referenced the wrong issue
No branches or pull requests
With a
*jsonrpc2.Connection
instance, it is not possible to know at least the remote network address.The proposal here, is to add:
methods to
*jsonrpc2.Connection
type.Without breaking the compatibility they can easily be implemented as:
The text was updated successfully, but these errors were encountered: