[CDRIVER-3929] Handshake commands do not include declared API Version options Created: 11/Mar/21  Updated: 28/Oct/23  Resolved: 25/Mar/21

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 1.18.0, 1.18.0-alpha

Type: Bug Priority: Major - P3
Reporter: Andreas Braun Assignee: Andreas Braun
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: Versioned MongoDB API for Drivers

 Description   

The initial hello command that is sent as part of topology scanning does not include the apiVersion option if an API Version was declared on the client. This prevents connecting to servers with the requireApiVersion parameter enabled. Authentication commands may also be affected.



 Comments   
Comment by Githook User [ 25/Mar/21 ]

Author:

{'name': 'Andreas Braun', 'email': 'alcaeus@users.noreply.github.com', 'username': 'alcaeus'}

Message: CDRIVER-3929 Include apiVersion in handshake commands (#753)

  • Fix tab indentation
  • Protect pooled clients against later API changes
  • Fix wrong indentation
  • Fix wrong re-initialisation of BSON objects
  • Unconditionally destroy ts->api
  • Improve handling of server API on pooled clients
Generated at Wed Feb 07 21:19:25 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.