0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-17 07:20:55 +01:00

modules/s_fetch: Remove cancels on request construction error.

This commit is contained in:
Jason Volk 2019-04-25 02:18:03 -07:00
parent 7d6271aa48
commit 0a20ec19c0

View file

@ -786,7 +786,6 @@ catch(const http::error &e)
e.content,
};
server::cancel(request);
request.origin = {};
return false;
}
@ -802,7 +801,6 @@ catch(const std::exception &e)
e.what()
};
server::cancel(request);
request.origin = {};
return false;
}