Details
-
Improvement
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
Description
mongoc_cluster_stream_for_server is called by user-facing methods like mongoc_client_command_simple_with_server_id. Rather than calling BSON_ASSERT and crash a user program, we should instead return a reasonable error if they pass in 0.