Cancellation fixes

Summary:
related to T11798
- Cancel functions post outstanding handlers
- Properly cancel autoconnect stream

Reviewers: ivica

Reviewed By: ivica

Subscribers: miljen, iljazovic

Differential Revision: https://repo.mireo.local/D27763
This commit is contained in:
Korina Šimičević committed 2024-02-06 15:27:39 +01:00
1 parent 0de02e3c53
commit e0ae572e1b
9 files changed
+48 -57

No files matched your search

-4
View File
@@ -123,7 +123,6 @@ BOOST_AUTO_TEST_CASE(tcp_client_check) {
[&](boost::system::error_code ec) {
BOOST_TEST_WARN(ec, "Failed to receive all the expected replies!");
c.cancel();
ioc.stop();
}
);
@@ -159,7 +158,6 @@ BOOST_AUTO_TEST_CASE(websocket_tcp_client_check) {
[&](boost::system::error_code ec) {
BOOST_TEST_WARN(ec, "Failed to receive all the expected replies!");
c.cancel();
ioc.stop();
}
);
@@ -195,7 +193,6 @@ BOOST_AUTO_TEST_CASE(openssl_tls_client_check) {
[&](boost::system::error_code ec) {
BOOST_TEST_WARN(ec, "Failed to receive all the expected replies!");
c.cancel();
ioc.stop();
}
);
@@ -233,7 +230,6 @@ BOOST_AUTO_TEST_CASE(websocket_tls_client_check) {
[&](boost::system::error_code ec) {
BOOST_TEST_WARN(ec, "Failed to receive all the expected replies!");
c.cancel();
ioc.stop();
}
);