summaryrefslogtreecommitdiff
path: root/src/mongo/transport/transport_layer_asio.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/transport/transport_layer_asio.h')
-rw-r--r--src/mongo/transport/transport_layer_asio.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/mongo/transport/transport_layer_asio.h b/src/mongo/transport/transport_layer_asio.h
index 8c48b3f6ec7..665d0411167 100644
--- a/src/mongo/transport/transport_layer_asio.h
+++ b/src/mongo/transport/transport_layer_asio.h
@@ -68,14 +68,13 @@ class ServiceEntryPoint;
namespace transport {
-// Simulates reads and writes that always return 1 byte and fail with EAGAIN
+// This fail point simulates reads and writes that always return 1 byte and fail with EAGAIN
extern FailPoint transportLayerASIOshortOpportunisticReadWrite;
-// Cause an asyncConnect to timeout after it's successfully connected to the remote peer
+// This fail point will cause an asyncConnect to timeout after it's successfully connected
+// to the remote peer
extern FailPoint transportLayerASIOasyncConnectTimesOut;
-extern FailPoint transportLayerASIOhangBeforeAccept;
-
/**
* A TransportLayer implementation based on ASIO networking primitives.
*/
@@ -116,7 +115,7 @@ public:
ServiceEntryPoint* sep,
const WireSpec& wireSpec = WireSpec::instance());
- ~TransportLayerASIO() override;
+ virtual ~TransportLayerASIO();
StatusWith<SessionHandle> connect(HostAndPort peer,
ConnectSSLMode sslMode,