mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-17 11:24:44 -07:00
Allow mixed TLS and non-TLS on same port
Signed-off-by: Derek Collison <derek@nats.io>
This commit is contained in:
@@ -813,7 +813,7 @@ func (s *Server) createLeafNode(conn net.Conn, remote *leafNodeCfg) *client {
|
||||
}
|
||||
|
||||
// Spin up the read loop.
|
||||
s.startGoRoutine(func() { c.readLoop() })
|
||||
s.startGoRoutine(func() { c.readLoop(nil) })
|
||||
|
||||
// Spin up the write loop.
|
||||
s.startGoRoutine(func() { c.writeLoop() })
|
||||
|
||||
Reference in New Issue
Block a user