[SERVER-29687] Remove dependency on util/net in server_options.h Created: 16/Jun/17 Updated: 30/Oct/23 Resolved: 23/Aug/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 3.5.13 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Jonathan Reams | Assignee: | Andrew Morrow (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Platforms 2017-09-11 |
| Participants: |
| Description |
|
server_options.h included mongo/util/net/listen.h to get a constant int value for its defaults, but many places used this to get getHostName(), getHostNameCached(), prettyHostName(), and IPv6Enabled(). This include should be explicit wherever these functions are used. |
| Comments |
| Comment by Ramon Fernandez Marina [ 24/Aug/17 ] |
|
Author: {'username': u'acmorrow', 'name': u'Andrew Morrow', 'email': u'acm@mongodb.com'}Message: |
| Comment by Ramon Fernandez Marina [ 24/Aug/17 ] |
|
Author: {'username': u'acmorrow', 'name': u'Andrew Morrow', 'email': u'acm@mongodb.com'}Message: |