mirror of
https://github.com/tobychui/zoraxy.git
synced 2025-06-03 06:07:20 +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:
parent
ad13b33283
commit
85709dacf6
@ -54,7 +54,8 @@ func (m *RouteManager) GetRequestUpstreamTarget(w http.ResponseWriter, r *http.R
|
|||||||
return origins[targetOriginId], nil
|
return origins[targetOriginId], nil
|
||||||
}
|
}
|
||||||
//No sticky session, get a random origin
|
//No sticky session, get a random origin
|
||||||
m.clearSessionHandler(w, r)
|
//Commented due to issue #550
|
||||||
|
//m.clearSessionHandler(w, r)
|
||||||
|
|
||||||
//Filter the offline origins
|
//Filter the offline origins
|
||||||
origins = m.FilterOfflineOrigins(origins)
|
origins = m.FilterOfflineOrigins(origins)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user