0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-17 23:40:57 +01:00

modules/s_fetch: Clear the origin after cancel so it's not re-attempted.

This commit is contained in:
Jason Volk 2019-04-24 14:23:48 -07:00
parent 604c103bbc
commit 0cbe9b0afa

View file

@ -782,6 +782,7 @@ catch(const http::error &e)
};
server::cancel(request);
request.origin = {};
return false;
}
catch(const std::exception &e)
@ -797,6 +798,7 @@ catch(const std::exception &e)
};
server::cancel(request);
request.origin = {};
return false;
}