[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: |