Merge pull request #8731

6c73dc7 properly terminate interrupted TCP connection. fixes #8685 (j-berman)
This commit is contained in:
luigi1111 2023-06-27 11:28:55 -05:00
commit 97354d8533
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(