summaryrefslogtreecommitdiff
path: root/src/mongo/transport/message_compressor_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/transport/message_compressor_manager.h')
-rw-r--r--src/mongo/transport/message_compressor_manager.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/transport/message_compressor_manager.h b/src/mongo/transport/message_compressor_manager.h
index 9f1a1de35e3..bccbebdb316 100644
--- a/src/mongo/transport/message_compressor_manager.h
+++ b/src/mongo/transport/message_compressor_manager.h
@@ -62,14 +62,14 @@ public:
MessageCompressorManager& operator=(MessageCompressorManager&&) = default;
/*
- * Called by a client constructing an isMaster request. This function will append the result
+ * Called by a client constructing a "hello" request. This function will append the result
* of _registry->getCompressorNames() to the BSONObjBuilder as a BSON array. If no compressors
* are configured, it won't append anything.
*/
void clientBegin(BSONObjBuilder* output);
/*
- * Called by a client that has received an isMaster response (received after calling
+ * Called by a client that has received a "hello" response (received after calling
* clientBegin) and wants to finish negotiating compression.
*
* This looks for a BSON array called "compression" with the server's list of
@@ -79,7 +79,7 @@ public:
void clientFinish(const BSONObj& input);
/*
- * Called by a server that has received an isMaster request.
+ * Called by a server that has received a "hello" request.
*
* If no compressors are configured that match those requested by the client, then it will
* not append anything to the BSONObjBuilder output.