Merge pull request #8900

438554e properly terminate interrupted TCP connection. fixes #8685 (j-berman)
This commit is contained in:
luigi1111 2023-07-06 21:34:41 -05:00
commit bd962882d1
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010
1 changed files with 1 additions and 4 deletions

View File

@ -583,11 +583,8 @@ namespace net_utils
break;
}
}
else if (ec.value())
terminate();
else {
cancel_timer();
on_interrupted();
terminate();
}
};
m_strand.post(