Merge pull request #7574 from sunng87/turnoff-peer-verification-by-default
Turn off peer cerificate verification for quic-server by default
This commit is contained in:
commit
fed2cbd6bd
|
@ -89,7 +89,7 @@ public class QuicServerConnector extends AbstractNetworkConnector
|
|||
// One bidirectional stream to simulate the TCP stream, and no unidirectional streams.
|
||||
quicConfiguration.setMaxBidirectionalRemoteStreams(1);
|
||||
quicConfiguration.setMaxUnidirectionalRemoteStreams(0);
|
||||
quicConfiguration.setVerifyPeerCertificates(true);
|
||||
quicConfiguration.setVerifyPeerCertificates(false);
|
||||
}
|
||||
|
||||
public QuicConfiguration getQuicConfiguration()
|
||||
|
|
Loading…
Reference in New Issue