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

View file

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