[CDRIVER-3766] fix IPv6 hostname literal matching on Windows Created: 22/Jul/20  Updated: 10/Feb/23

Status: Backlog
Project: C Driver
Component/s: network
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Roberto Sanchez Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to CDRIVER-3765 fix IPv6 hostname literal matching on... Backlog
Epic Link: CDRIVER-4575

 Description   

Enabling TLS certificate validation in the unit tests (CDRIVER-3579) revealed that IPv6 hostname matching on Windows is buggy. Specifically, the logic does not consider the IPv6 addresses 0:0:0:0:0:0:0:1 and [::1] to be equivalent. As a result, a certificate trust failure is encountered in that situation. Once that is fixed, the workaround code in test-mongoc-client.c should be removed. It can be found by searching for the reference to this ticket.


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