[SERVER-59010] Fix SSL off build, OCSPManager shouldn't be used when ssl = off Created: 02/Aug/21 Updated: 29/Oct/23 Resolved: 29/Sep/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.4.10 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Renan Castro | Assignee: | Spencer Jackson |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | pull-request | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Operating System: | ALL | ||||||||||||
| Sprint: | Security 2021-08-23, Security 2021-09-06, Security 2021-09-20, Security 2021-10-04 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
When building with SSL=off, latest 4.4.4 release doesn't compile with the following error:
OCSPManager thread pool probably shouldn't be started when SSL is off, as this class is not compiled in the presence of such an option. Also some info here: https://developer.mongodb.com/community/forums/t/failure-to-build-mongodb-4-4-4/100231 This is blocking Meteor build of MongoDB, as we do use a small binary without SSL for development easiness. The last version it was working is : MONGODB_VERSION='4.2.8' Original SummarySsl off build fails Original DescriptionA build of MongoDB of install-core with --ssl=off does not work due to missing ifdefs to exclude SSL related code. |
| Comments |
| Comment by Githook User [ 29/Sep/21 ] |
|
Author: {'name': 'Renan Castro', 'email': 'renanccastro@gmail.com', 'username': 'renanccastro'}Message: |
| Comment by Spencer Jackson [ 29/Sep/21 ] |
|
I can confirm that this PR makes sense to merge, and fixes static builds with ssl=off. It seems that additional work is required to make dynamic builds function, which was performed in r5.0.0 with |