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:
parent
7d6271aa48
commit
0a20ec19c0
1 changed files with 0 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue