Don't replace "Request aborted" errors for files.
This commit is contained in:
parent
f900fc2480
commit
20b312b144
@ -3980,7 +3980,8 @@ void FileManager::on_error_impl(FileNodePtr node, Query::Type type, bool was_act
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (G()->close_flag() && status.code() < 400) {
|
if (G()->close_flag() && (status.code() < 400 || (status.code() == Global::request_aborted_error().code() &&
|
||||||
|
status.message() == Global::request_aborted_error().message()))) {
|
||||||
status = Global::request_aborted_error();
|
status = Global::request_aborted_error();
|
||||||
} else {
|
} else {
|
||||||
if (status.code() != -1) {
|
if (status.code() != -1) {
|
||||||
|
Loading…
Reference in New Issue
Block a user