[SERVER-76992] Remove the definition of CertInformationToLog::getDynamicAttributes from the header Created: 10/May/23 Updated: 29/Oct/23 Resolved: 15/Jun/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.1.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Mark Benvenuto | Assignee: | Emilio Alvear Cantu (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Server Security
|
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Security 2023-06-12, Security 2023-06-26 |
| Participants: |
| Description |
|
Because CertInformationToLog::getDynamicAttributes is declared in the header, it must be compiled in every file it is used (1000+). This function is expensive to compile because of all of the template instantiations in particular needed for libfmt & logging. Move the definition of the function into src/mongo/util/net/ssl_manager.cpp. |
| Comments |
| Comment by Githook User [ 13/Jun/23 ] |
|
Author: {'name': 'Emilio0404', 'email': 'emilio.alvear@hotmail.com', 'username': 'Emilio0404'}Message: |