summaryrefslogtreecommitdiff
path: root/src/mongo/transport/asio_utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/transport/asio_utils.cpp')
-rw-r--r--src/mongo/transport/asio_utils.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mongo/transport/asio_utils.cpp b/src/mongo/transport/asio_utils.cpp
index 61d9a56dea2..8e8368ff586 100644
--- a/src/mongo/transport/asio_utils.cpp
+++ b/src/mongo/transport/asio_utils.cpp
@@ -55,8 +55,6 @@ Status errorCodeToStatus(const std::error_code& ec) {
return {ErrorCodes::HostUnreachable, "Connection reset by peer"};
} else if (ec == asio::error::network_reset) {
return {ErrorCodes::HostUnreachable, "Connection reset by network"};
- } else if (ec == asio::error::in_progress) {
- return {ErrorCodes::ConnectionError, "Socket operation in progress"};
}
// If the ec.category() is a mongoErrorCategory() then this error was propogated from