mirror of
https://github.com/tobychui/zoraxy.git
synced 2025-08-01 19:06:46 +02:00
Fixed #550
- Updated to not set the session cookie and lets the fallback method to detect for change in upstreams
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user