mirror of
https://github.com/matrix-construct/construct
synced 2024-10-01 05:08:59 +02:00
ircd::resource: Clear peer error after peer contacts us.
This commit is contained in:
parent
292e8c5a12
commit
a054ac6b2f
1 changed files with 3 additions and 0 deletions
|
@ -388,6 +388,9 @@ ircd::resource::operator()(client &client,
|
||||||
"The X-Matrix Authorization is invalid."
|
"The X-Matrix Authorization is invalid."
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// If we have an error cached from previously not being able to
|
||||||
|
// contact this origin we can clear that now that they're alive.
|
||||||
|
server::errclear(client.request.origin);
|
||||||
|
|
||||||
// The origin was verified so we can invoke the cache warming now.
|
// The origin was verified so we can invoke the cache warming now.
|
||||||
cache_warm_origin(client.request.origin);
|
cache_warm_origin(client.request.origin);
|
||||||
|
|
Loading…
Reference in a new issue