[SERVER-38738] Remove mutex from getSSLManager Created: 21/Dec/18  Updated: 29/Oct/23  Resolved: 09/Jan/19

Status: Closed
Project: Core Server
Component/s: Performance, Security
Affects Version/s: None
Fix Version/s: 4.1.7

Type: Task Priority: Major - P3
Reporter: Spencer Jackson Assignee: Isabella Siu (Inactive)
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Security 2019-01-14
Participants:

 Description   

The OpenSSL implementation for getSSLManager returns a pointer to the global SSLManager. It uses a mutex to protect the pointer, but the pointer is set only once, while in a single threaded environment. We should elide the mutex.



 Comments   
Comment by Githook User [ 09/Jan/19 ]

Author:

{'username': 'iwysiu', 'email': 'isabella.siu@10gen.com', 'name': 'Isabella Siu'}

Message: SERVER-38738 collapse all getSSLManager() to one implementation and remove mutex
Branch: master
https://github.com/mongodb/mongo/commit/0e237325a508f3c49eb6a19ea4a9dbb7c6053058

Generated at Thu Feb 08 04:49:51 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.