[CDRIVER-2154] SNI not provided when allow_invalid_hostname is set Created: 08/May/17  Updated: 28/Oct/23  Resolved: 10/May/17

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: 1.5.5, 1.6.2
Fix Version/s: 1.6.3, 1.7.0

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

Issue Links:
Related
is related to CDRIVER-2153 mongoc_client_pool_t cannot connect t... Closed

 Description   

When hostname verification is disabled, we don't send the SNI, when using OpenSSL.

The expectation is the user doesn't care what hostname it is connecting to, but that expectation is wrong as the server still cares and needs the SNI to know which server it should hand the request off to.



 Comments   
Comment by Githook User [ 09/May/17 ]

Author:

{u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}

Message: Merge branch 'CDRIVER-2153-pool-ssl'

Comment by Githook User [ 09/May/17 ]

Author:

{u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}

Message: CDRIVER-2154 SNI not provided when allow_invalid_hostname is set
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/df963153d5e35e5739d36f7783fe52a769a6a323

Generated at Wed Feb 07 21:14:20 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.