Skip to content

Commit 8003909

Browse files
committed
continue on error in server tunnel
Signed-off-by: Patrik Cyvoct <[email protected]>
1 parent 0220dc7 commit 8003909

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/agent/agentserver/tunnel.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ func (t *Tunnel) ServeHTTP(w http.ResponseWriter, r *http.Request) {
124124
err = t.Server.Backend.Send(packet)
125125
if err != nil {
126126
klog.Errorf("Error sending packet %v", err)
127+
continue
127128
}
128129
klog.Infof("Forwarding on tunnel, packet %v", string(pkt[:n]))
129130
}

0 commit comments

Comments
 (0)