Skip to content

Commit 0eeff0a

Browse files
author
Jesse Williamson
authored
Bump WIRE_VERSION_MAX to 14 (#891)
* Bumped WIRE_VERSION_MAX. Added comments to help when searching for maxWireVersion. See: https://jira.mongodb.org/browse/CDRIVER-4165 Signed-off-by: Jesse Williamson <[email protected]> * Apply clang-format. Signed-off-by: Jesse Williamson <[email protected]>
1 parent a618423 commit 0eeff0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libmongoc/src/mongoc/mongoc-client-private.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@
4242
BSON_BEGIN_DECLS
4343

4444
/* protocol versions this driver can speak */
45-
#define WIRE_VERSION_MIN 3
46-
#define WIRE_VERSION_MAX 13
45+
#define WIRE_VERSION_MIN 3 /* a.k.a. minWireVersion */
46+
#define WIRE_VERSION_MAX 14 /* a.k.a. maxWireVersion */
4747

4848
/* first version that supported "find" and "getMore" commands */
4949
#define WIRE_VERSION_FIND_CMD 4

0 commit comments

Comments
 (0)