-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
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.