Skip to content

Commit b173534

Browse files
committed
SERVER-41975 Skip ASIO::basic_socket::cancel() in session_asio.h
1 parent 861a2c3 commit b173534

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/mongo/transport/session_asio.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@ class TransportLayerASIO::ASIOSession final : public Session {
130130
void end() override {
131131
if (getSocket().is_open()) {
132132
std::error_code ec;
133-
cancelAsyncOperations();
134133
getSocket().shutdown(GenericSocket::shutdown_both, ec);
135134
if ((ec) && (ec != asio::error::not_connected)) {
136135
error() << "Error shutting down socket: " << ec.message();

0 commit comments

Comments
 (0)