Merge pull request #26337 from icaoweiwei/patch_2016-09-06_1
Remove redundant word Upstream-commit: 1c7c298d2b22e6a3739e20ea1b63f61a90dda4e0 Component: engine
This commit is contained in:
@ -7,7 +7,7 @@ import (
|
||||
)
|
||||
|
||||
// NewTCPSocket creates a TCP socket listener with the specified address and
|
||||
// and the specified tls configuration. If TLSConfig is set, will encapsulate the
|
||||
// the specified tls configuration. If TLSConfig is set, will encapsulate the
|
||||
// TCP listener inside a TLS one.
|
||||
func NewTCPSocket(addr string, tlsConfig *tls.Config) (net.Listener, error) {
|
||||
l, err := net.Listen("tcp", addr)
|
||||
|
||||
Reference in New Issue
Block a user