We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 861a2c3 commit b173534Copy full SHA for b173534
src/mongo/transport/session_asio.h
@@ -130,7 +130,6 @@ class TransportLayerASIO::ASIOSession final : public Session {
130
void end() override {
131
if (getSocket().is_open()) {
132
std::error_code ec;
133
- cancelAsyncOperations();
134
getSocket().shutdown(GenericSocket::shutdown_both, ec);
135
if ((ec) && (ec != asio::error::not_connected)) {
136
error() << "Error shutting down socket: " << ec.message();
0 commit comments