0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-05-29 00:03:45 +02:00

ircd:Ⓜ️:fetch: Test viability of supplied remote hint before selecting.

This commit is contained in:
Jason Volk 2020-10-29 04:44:35 -07:00
parent cdb52ba99a
commit 1244002de3

View file

@ -391,7 +391,7 @@ try
if(!request.started)
request.started = ircd::now<system_point>();
if(!request.origin)
if(!request.origin || !proffer_remote(request, request.origin))
select_random_remote(request);
for(; request.origin; select_random_remote(request))