Rename router to receiver for secondary connections (#2816)

This commit is contained in:
Todd authored and GitHub committed 2023-01-20 10:43:57 -08:00
1 parent b359561e51
commit 87b09d5e27
5 files changed
+23 -23

No files matched your search

+1 -1
View File
@@ -272,7 +272,7 @@ func (w *Worker) handleProxy(listenerCfg *listenerutil.ListenerConfig, sessionMa
}
}
pDialer, err := proxyHandlers.GetEndpointDialer(ctx, endpointUrl.Host, workerId, acResp, w.downstreamRoutes)
pDialer, err := proxyHandlers.GetEndpointDialer(ctx, endpointUrl.Host, workerId, acResp, w.downstreamReceiver)
if err != nil {
conn.Close(proxyHandlers.WebsocketStatusProtocolSetupError, "unable to get endpoint dialer")
event.WriteError(ctx, op, err)