Fixed sticky session bug

- Fixed sticky session bug in new active fallback lb implementation
This commit is contained in:
Toby Chui
2025-02-14 22:53:29 +08:00
parent 32f60dfba6
commit 5d8bec7f24
4 changed files with 39 additions and 7 deletions

View File

@@ -595,6 +595,7 @@ func ReverseProxyHandleEditEndpoint(w http.ResponseWriter, r *http.Request) {
return
}
targetProxyEntry.Remove()
loadBalancer.ResetSessions()
dynamicProxyRouter.AddProxyRouteToRuntime(readyRoutingRule)
//Save it to file