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

Failure to listen on an asio socket should be fatal

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.6.15, 4.3.1, 4.2.2, 4.0.14
    • None
    • None
    • Fully Compatible
    • ALL
    • v4.2, v4.0, v3.6
    • Service Arch 2019-11-04

    Description

      We use the throwing form of listen() with our asio sockets. We should use the nothrow version (since asio pipes error_code lvalues through anyway) and fassert on failure.

      Attachments

        Activity

          People

            ben.caimano@mongodb.com Benjamin Caimano (Inactive)
            ben.caimano@mongodb.com Benjamin Caimano (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: