mirror of
https://github.com/coredns/coredns.git
synced 2025-11-25 21:24:03 -05:00
Correctly re-establish the stream
Signed-off-by: Miek Gieben <miek@miek.nl>
This commit is contained in:
@@ -2,6 +2,7 @@ package traffic
|
||||
|
||||
import (
|
||||
"context"
|
||||
"crypto/tls"
|
||||
"fmt"
|
||||
"strconv"
|
||||
"strings"
|
||||
@@ -17,7 +18,11 @@ import (
|
||||
|
||||
// Traffic is a plugin that load balances according to assignments.
|
||||
type Traffic struct {
|
||||
c *xds.Client
|
||||
c *xds.Client
|
||||
node string
|
||||
tlsConfig *tls.Config
|
||||
hosts []string
|
||||
|
||||
id string
|
||||
health bool
|
||||
origins []string
|
||||
|
||||
Reference in New Issue
Block a user