if (r < 0) {
return r;
}
- r = authenticate(std::chrono::duration<double>(cct->_conf.get_val<std::chrono::seconds>("client_mount_timeout")).count());
- if (r == -ETIMEDOUT) {
- shutdown();
- continue;
- }
+ r = authenticate(
+ cct->_conf.get_val<std::chrono::seconds>("client_mount_timeout").count());
if (r < 0) {
break;
}
// for some channels prior to nautilus (osd heartbeat), we
// tolerate the lack of an authorizer.
if (!con->get_messenger()->require_authorizer) {
- handle_authentication_dispatcher->ms_handle_authentication(con);
+ handle_authentication_dispatcher->ms_handle_fast_authentication(con);
return 1;
}
return -EACCES;
&auth_meta->connection_secret,
ac);
if (isvalid) {
- handle_authentication_dispatcher->ms_handle_authentication(con);
+ handle_authentication_dispatcher->ms_handle_fast_authentication(con);
return 1;
}
if (!more && !was_challenge && auth_meta->authorizer_challenge) {