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 261441a commit 03df187Copy full SHA for 03df187
src/cmap/connection.ts
@@ -645,7 +645,7 @@ function supportsOpMsg(conn: Connection) {
645
return false;
646
}
647
648
- return !description.__nodejs_mock_server__;
+ return maxWireVersion(conn) >= 6 && !description.__nodejs_mock_server__;
649
650
651
function streamIdentifier(stream: Stream, options: ConnectionOptions): string {
0 commit comments