mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
register redirect failure as global
This commit is contained in:
parent
e48d425672
commit
8091dd6ace
3 changed files with 15 additions and 11 deletions
|
|
@ -81,7 +81,7 @@ impl Client {
|
|||
// * this condition just to make sure that client will never stuck by driver implementation issue
|
||||
if self.redirect.count() > redirect::LIMIT {
|
||||
self.status
|
||||
.replace(Status::failure_redirect_limit(redirect::LIMIT));
|
||||
.replace(Status::failure_redirect_limit(redirect::LIMIT, true));
|
||||
// @TODO return;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue