MCPcopy
hub / github.com/grpc/grpc-go / newWrappedConn

Function newWrappedConn

credentials/xds/xds_server_test.go:112–114  ·  view source on GitHub ↗
(conn net.Conn, xdsHI *xdsinternal.HandshakeInfo, deadline time.Time)

Source from the content-addressed store, hash-verified

110}
111
112func newWrappedConn(conn net.Conn, xdsHI *xdsinternal.HandshakeInfo, deadline time.Time) *wrapperConn {
113 return &wrapperConn{Conn: conn, xdsHI: xdsHI, deadline: deadline}
114}
115
116// TestServerCredsInvalidHandshakeInfo verifies scenarios where the passed in
117// HandshakeInfo is invalid because it does not contain the expected certificate

Calls

no outgoing calls

Tested by

no test coverage detected