seastar::static_pointer_cast<SocketConnection>(conn.shared_from_this()))
.handle_exception([this] (std::exception_ptr eptr) {
logger().error("{} ms_handle_reset caught exception: {}", conn, eptr);
+ ceph_abort("unexpected exception from ms_handle_reset()");
});
});
}
seastar::static_pointer_cast<SocketConnection>(conn.shared_from_this()))
.handle_exception([this] (std::exception_ptr eptr) {
logger().error("{} ms_handle_remote_reset caught exception: {}", conn, eptr);
+ ceph_abort("unexpected exception from ms_handle_remote_reset()");
});
});
}
seastar::static_pointer_cast<SocketConnection>(conn.shared_from_this()))
.handle_exception([this] (std::exception_ptr eptr) {
logger().error("{} ms_handle_connect caught exception: {}", conn, eptr);
+ ceph_abort("unexpected exception from ms_handle_connect()");
});
}).then([this] {
return true;
conn.shared_from_this()))
.handle_exception([this] (std::exception_ptr eptr) {
logger().error("{} ms_handle_connect caught exception: {}", conn, eptr);
+ ceph_abort("unexpected exception from ms_handle_connect()");
});
}).then([this] {
return true;
seastar::static_pointer_cast<SocketConnection>(conn.shared_from_this()))
.handle_exception([this] (std::exception_ptr eptr) {
logger().error("{} ms_handle_accept caught exception: {}", conn, eptr);
+ ceph_abort("unecpected exception from ms_handle_accept()");
});
});
return dispatcher.ms_dispatch(&conn, std::move(msg))
.handle_exception([this] (std::exception_ptr eptr) {
logger().error("{} ms_dispatch caught exception: {}", conn, eptr);
- ceph_assert(false);
+ ceph_abort("unexpected exception from ms_dispatch()");
});
});
});