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

Do not make throwing asio library calls from within async callbacks

    XMLWordPrintable

Details

    • Fully Compatible
    • ALL
    • v3.2
    • Platforms 2016-10-31
    • 0

    Description

      The following asio library calls may throw, and we should not call them from within NetworkInterfaceASIO. Many of these methods have non-throwing variants:

      asio::io_service::run()
      asio::system_timer constructor
      asio::system_timer::cancel()
      asio::system_timer::expires_at(time point)
      asio::system_timer::expires_after(duration)
      asio::system_timer::wait()

      This list may not be exhaustive.

      Attachments

        Activity

          People

            samantha.ritter@mongodb.com Samantha Ritter (Inactive)
            samantha.ritter@mongodb.com Samantha Ritter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: