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

Failure to listen on an asio socket should be fatal

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.15, 4.3.1, 4.2.2, 4.0.14
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v4.2, v4.0, v3.6
    • Service Arch 2019-11-04

      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.

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

              Created:
              Updated:
              Resolved: