Proposal Details
In certain cases it might be usefuy to have the remote address on the connection state.
For example, I want to validate during handhsake process (VerifyConnection callback) that the peer certificate was issued with the remote address.
type ConnectionState struct {
...
RemoteAddr Addr
}
Proposal Details
In certain cases it might be usefuy to have the remote address on the connection state.
For example, I want to validate during handhsake process (VerifyConnection callback) that the peer certificate was issued with the remote address.