Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-31724

Call TransportLayer shutdown during normal server shutdown

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.0-rc3
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Fully Compatible
    • ALL
    • Platforms 2017-11-13

      In the shutdown task we are still closing the listening sockets with

          log(LogComponent::kNetwork) << "shutdown: going to close listening sockets...";
          ListeningSockets::get()->closeAll();
      

      which doesn't do anything for TransportLayerASIO. We should just shutdown the TransportLayer here instead.

            Assignee:
            jonathan.reams@mongodb.com Jonathan Reams
            Reporter:
            jonathan.reams@mongodb.com Jonathan Reams
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: