- Updated to not set the session cookie and lets the fallback method to detect for change in upstreams
This commit is contained in:
Toby Chui 2025-02-26 21:19:41 +08:00
parent ad13b33283
commit 85709dacf6

View File

@ -54,7 +54,8 @@ func (m *RouteManager) GetRequestUpstreamTarget(w http.ResponseWriter, r *http.R
return origins[targetOriginId], nil
}
//No sticky session, get a random origin
m.clearSessionHandler(w, r)
//Commented due to issue #550
//m.clearSessionHandler(w, r)
//Filter the offline origins
origins = m.FilterOfflineOrigins(origins)