Skip to content

Commit ac30ee6

Browse files
authored
Merge pull request ceph#55967 from mkogan1/wip-rgw-ssl-ses-id-reuse
rgw/beast: Enable SSL session-id reuse speedup mechanism Reviewed-by: Casey Bodley <[email protected]>
2 parents d79a95d + 6fb4c5d commit ac30ee6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/rgw/rgw_asio_frontend.cc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1042,10 +1042,10 @@ void AsioFrontend::accept(Listener& l, boost::system::error_code ec)
10421042
handle_connection(context, env, stream, timeout, header_limit,
10431043
conn->buffer, true, pause_mutex, scheduler.get(),
10441044
uri_prefix, ec, yield);
1045-
if (!ec) {
1046-
// ssl shutdown (ignoring errors)
1047-
stream.async_shutdown(yield[ec]);
1048-
}
1045+
1046+
// ssl shutdown (ignoring errors)
1047+
stream.async_shutdown(yield[ec]);
1048+
10491049
conn->socket.shutdown(tcp::socket::shutdown_both, ec);
10501050
}, make_stack_allocator());
10511051
} else {

0 commit comments

Comments
 (0)