Skip to content

Commit

Permalink
Merge pull request #56120 from mkogan1/wip-64766-reef
Browse files Browse the repository at this point in the history
reef: rgw/beast: Enable SSL session-id reuse speedup mechanism

Reviewed-by: Casey Bodley <cbodley@redhat.com>
  • Loading branch information
yuriw committed Mar 27, 2024
2 parents f8e9ea0 + 3d9dbe8 commit 5df3435
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/rgw/rgw_asio_frontend.cc
Expand Up @@ -1036,10 +1036,10 @@ void AsioFrontend::accept(Listener& l, boost::system::error_code ec)
handle_connection(context, env, stream, timeout, header_limit,
conn->buffer, true, pause_mutex, scheduler.get(),
uri_prefix, ec, yield);
if (!ec) {
// ssl shutdown (ignoring errors)
stream.async_shutdown(yield[ec]);
}

// ssl shutdown (ignoring errors)
stream.async_shutdown(yield[ec]);

conn->socket.shutdown(tcp::socket::shutdown_both, ec);
}, make_stack_allocator());
} else {
Expand Down

0 comments on commit 5df3435

Please sign in to comment.