uber / tchannel-go

Go implementation of a multiplexing and framing protocol for RPC calls
http://uber.github.io/tchannel/
MIT License
490 stars 84 forks source link

Add TLS option in testutils.NewServerChannel #881

Closed DheerendraRathor closed 2 years ago

DheerendraRathor commented 2 years ago

Added ServeTLS in testutils.ChannelOpts to create a test server with TLS listener listening on port 0. TLS listener uses a static cert/key pair present in internal/testcert package to prevent accidental use of the cert in production.

Other changes:

CLAassistant commented 2 years ago

CLA assistant check
All committers have signed the CLA.