0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-28 14:58:20 +02:00

ircd::resource: Clear peer error after peer contacts us.

This commit is contained in:
Jason Volk 2018-05-02 13:16:40 -07:00
parent 292e8c5a12
commit a054ac6b2f

View file

@ -388,6 +388,9 @@ ircd::resource::operator()(client &client,
"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.
cache_warm_origin(client.request.origin);