CDRIVER currently errors on certain types of invalid option values in the URI.
https://github.com/mongodb/specifications/blob/master/source/connection-string/connection-string-spec.rst#values
While the errors are probably more helpful than warnings, they are spec non-compliant.
Additionally, timeout options should be unsigned and not accept negative values. These should produce warnings.
- is related to
-
DRIVERS-2056 Require Drivers to raise errors for invalid URI Option Keys and Values
- Backlog
- related to
-
CDRIVER-3730 Do not interpret URI option values of 0 as unset
- Backlog